File: asdf_tool.rst

package info (click to toggle)
python-asdf 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,032 kB
  • sloc: python: 24,068; makefile: 123
file content (31 lines) | stat: -rw-r--r-- 833 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.. _asdf_tool:

Command line tool
-----------------

`asdf` includes a command-line tool, ``asdftool`` that performs a number of
useful operations:

  - ``explode``: Convert a self-contained ASDF file into exploded form (see
    :ref:`exploded`).

  - ``implode``: Convert an ASDF file in exploded form into a
    self-contained file.

  - ``defragment``: Remove unused blocks and extra space.

  - ``diff``: Report differences between two ASDF files.

  - ``edit``: Edit the YAML portion of an ASDF file.

  - ``info``: Print a rendering of an ASDF tree.

  - ``extensions``: Show information about installed extensions (see
    :ref:`other_packages`).

  - ``tags``: List currently available tags.

  - ``to_yaml``: Inline all of the data in an ASDF file so that it is
    pure YAML.

Run ``asdftool --help`` for more information.