File: asdf_tool.rst

package info (click to toggle)
python-asdf 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,060 kB
  • sloc: python: 24,224; makefile: 123
file content (35 lines) | stat: -rw-r--r-- 933 bytes parent folder | download
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
32
33
34
35
.. _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.

  - ``search``: Search an ASDF file.

  - ``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.

  - ``validate``: Validate an ASDF file's blocks and schema.

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