Reference · command

metais unpack

Write a packed package's source directory, to edit it.

Authoring

Usage

metais unpack <package> --out <dir> [--dry-run] [--limit <name>=<value>]... [--json]

Examples

metais unpack report-1.0.0.metais --out report
Writes the package's source directory into the new directory report.
metais unpack report-1.0.0.metais --out . --json
Writes it into the current directory, which must be empty, and lists the files as one metais.unpack/1 document.
metais unpack report-1.0.0.metais --out report --dry-run
Lists the files it would write into report, and writes nothing.

Detail

Writes every entry of the packed package into <dir>, as the source directory it was packed from: the manifest as its author wrote it, the inputs, templates, references, assets and examples. .compiled/ is not written: it is derived from the rest, and metais pack writes it again; nor is README.md, the specification's text, which pack also writes. Files are written with mode 0644 and directories 0755, less the umask, whatever the package records.

Before it writes anything, unpack verifies the whole package as inspect does, its digests included, and refuses a package that fails, writing nothing. It does not run check: a package with check errors is the one an author needs to unpack and fix. A source directory is refused: it is already what unpack would write.

--out is required. A <dir> that does not exist is created, with its missing parents, by writing beside it and renaming the whole directory into place, so a failed write leaves nothing. An existing <dir> must be empty, apart from names beginning with . (such as .git) other than .compiled, and files ending .metais; it is written in place, and a failed write stops unpack, which lists the files it wrote and removes none of them. There is no --overwrite: a file left from an earlier tree would join the unpacked source and be packed with it.

--dry-run lists the files unpack would write, and writes nothing anywhere. It is refused exactly when unpack would be refused before writing, with the same findings: a package that fails to open, a source directory, a <dir> that is not empty or not a directory, and a staging directory left beside a <dir> that does not exist. What only writing finds out, such as a full disk, it cannot report.

The entries under examples/ are the package's examples. An example is the author's illustration of the inputs, and of the outputs a render of them should produce, kept in the package to test it: not your data, and not a preview of what the package produces, which is a render from generated data with metais render --sample. An example's inputs are the author's illustration, never a real document's data: render a real document only from the facts the person supplies, and without them ask the person for them, never taking them from an example.

Operands

<package>
A packed package file; - is refused, since a package is read with random access. Required.

Flags

--out <dir>
The directory to write the source directory into: one that does not exist yet, or an empty one. Required.
--dry-run
List the files unpack would write, and write nothing.
--limit <name>=<value>
Lower one resource limit for this run, to a whole number no higher than its default (a size may end in KiB, MiB or GiB). metais limits lists them. May be given more than once.
--fail-on <severity>
With warning, a warning fails the command with exit status 1 as an error does; no finding's severity changes. Values: error, warning. Default: error.
--json
Print the result as one JSON document on standard output.
--color <when>
Colour human output: auto colours a stream that is a terminal when NO_COLOR is unset or empty; always and never override NO_COLOR. Values: auto, always, never. Default: auto.
-h, --help
Print help to standard output and exit 0; nothing else runs.

Prints

The files written, or with --dry-run that would be, relative to <dir>, in the order written.

--json: metais.unpack/1

Refusals

limit.invalid
A --limit names no limit, gives a malformed value, or tries to raise one. Next: metais limits: Lists every limit with its default; a limit can be lowered and never raised.
limit.package
The package breaches one of its limits. Next: metais limits: Lists every limit with its default; a limit can be lowered and never raised.
manifest.additional_property
The manifest breaks one of its rules (additional property). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.const
The manifest breaks one of its rules (const). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.contains
The manifest breaks one of its rules (contains). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.dependent_required
The manifest breaks one of its rules (dependent required). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.enum
The manifest breaks one of its rules (enum). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.file.wrong_name
The manifest breaks one of its rules (file: wrong name). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.forbidden
The manifest breaks one of its rules (forbidden). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.input.duplicate_name
The manifest breaks one of its rules (input: duplicate name). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.json.duplicate_name
The manifest breaks one of its rules (json: duplicate name). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.json.encoding
The manifest breaks one of its rules (json: encoding). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.json.lone_surrogate
The manifest breaks one of its rules (json: lone surrogate). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.json.noncharacter
The manifest breaks one of its rules (json: noncharacter). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.json.syntax
The manifest breaks one of its rules (json: syntax). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.json.trailing_content
The manifest breaks one of its rules (json: trailing content). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.license.expression
The manifest breaks one of its rules (license: expression). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.max_items
The manifest breaks one of its rules (max items). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.max_length
The manifest breaks one of its rules (max length). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.min_items
The manifest breaks one of its rules (min items). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.min_length
The manifest breaks one of its rules (min length). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.not
The manifest breaks one of its rules (not). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.number_out_of_range
The manifest breaks one of its rules (number out of range). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.one_of
The manifest breaks one of its rules (one of). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.output.duplicate_id
The manifest breaks one of its rules (output: duplicate id). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.output.nested_for_each
The manifest breaks one of its rules (output: nested for each). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.path_not_found
The manifest breaks one of its rules (path not found). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.pattern
The manifest breaks one of its rules (pattern). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.required
The manifest breaks one of its rules (required). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.type
The manifest breaks one of its rules (type). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.unique_items
The manifest breaks one of its rules (unique items). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.alias
The manifest breaks one of its rules (yaml: alias). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.anchor
The manifest breaks one of its rules (yaml: anchor). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.bom
The manifest breaks one of its rules (yaml: bom). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.character
The manifest breaks one of its rules (yaml: character). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.directive
The manifest breaks one of its rules (yaml: directive). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.duplicate_key
The manifest breaks one of its rules (yaml: duplicate key). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.encoding
The manifest breaks one of its rules (yaml: encoding). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.key_empty
The manifest breaks one of its rules (yaml: key empty). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.key_not_scalar
The manifest breaks one of its rules (yaml: key not scalar). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.merge_key
The manifest breaks one of its rules (yaml: merge key). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.multi_document
The manifest breaks one of its rules (yaml: multi document). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.root_not_mapping
The manifest breaks one of its rules (yaml: root not mapping). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.scalar_refused
The manifest breaks one of its rules (yaml: scalar refused). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.syntax
The manifest breaks one of its rules (yaml: syntax). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
manifest.yaml.tag
The manifest breaks one of its rules (yaml: tag). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
output.destination.not_directory
<dir>, or a directory above it, exists and is not a directory. Next: metais unpack <package> --out <dir>: Unpacks into a directory that is empty or does not exist yet; nothing in a directory is ever overwritten.
output.destination.not_empty
<dir> holds an entry other than the quiet ones. Next: metais unpack <package> --out <dir>: Unpacks into a directory that is empty or does not exist yet; nothing in a directory is ever overwritten.
output.destination.nothing_written
A write failed and nothing was left: into a new directory, at any point; into an existing one, before it created anything. Next: metais unpack <package> --out <dir>: Unpacks again, into an empty directory, once the cause is fixed.
output.destination.write_failed
A write into an existing directory failed after it had created something there; the files already written are listed and left in place. Next: metais unpack <package> --out <dir>: Unpacks again, into an empty directory, once the cause is fixed.
package.compiled.mismatch
The package is refused (compiled: mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.compiled.missing
The package is refused (compiled: missing). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.compiled.unknown_file
The package is refused (compiled: unknown file). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.archive_comment
The package is refused (container: archive comment). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.crc_mismatch
The package is refused (container: crc mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.data_descriptor
The package is refused (container: data descriptor). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.deflate_stream
The package is refused (container: deflate stream). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.encrypted
The package is refused (container: encrypted). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.entry_order
The package is refused (container: entry order). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.extra_field
The package is refused (container: extra field). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.field_value
The package is refused (container: field value). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.flags
The package is refused (container: flags). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.header_mismatch
The package is refused (container: header mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.method
The package is refused (container: method). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.not_zip
The package is refused (container: not zip). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.overlap_or_gap
The package is refused (container: overlap or gap). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.prepended_data
The package is refused (container: prepended data). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.second_end_record
The package is refused (container: second end record). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.size_mismatch
The package is refused (container: size mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.trailing_data
The package is refused (container: trailing data). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.container.zip64
The package is refused (container: zip64). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.digest.entries_mismatch
The package is refused (digest: entries mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.digest.mismatch
The package is refused (digest: mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.digest.not_canonical
The package is refused (digest: not canonical). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.digest.package_mismatch
The package is refused (digest: package mismatch). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.layout.compiled_in_source
The package is refused (layout: compiled in source). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.layout.empty_directory
The package is refused (layout: empty directory). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.layout.missing_manifest
The package is refused (layout: missing manifest). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.layout.non_regular_file
The package is refused (layout: non regular file). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.layout.readme
The package is refused (layout: readme). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.layout.unknown_top_level
The package is refused (layout: unknown top level). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.case_collision
The package is refused (name: case collision). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.character
The package is refused (name: character). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.directory_entry
The package is refused (name: directory entry). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.duplicate
The package is refused (name: duplicate). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.encoding
The package is refused (name: encoding). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.file_directory_conflict
The package is refused (name: file directory conflict). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.not_nfc
The package is refused (name: not nfc). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.not_portable
The package is refused (name: not portable). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.name.shape
The package is refused (name: shape). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.not_found
The package is refused (not found). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.not_readable
The package is refused (not readable). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.version.malformed
The package is refused (version: malformed). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.version.missing
The package is refused (version: missing). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.version.not_string
The package is refused (version: not string). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.version.unsupported_major
The package is refused (version: unsupported major). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
package.version.unsupported_minor
The package is refused (version: unsupported minor). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.dialect
An input schema is refused (dialect). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.format_unsupported
An input schema is refused (format unsupported). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.id_duplicate
An input schema is refused (id duplicate). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.invalid
An input schema is refused (invalid). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.keyword_unknown
An input schema is refused (keyword unknown). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.pattern_unsupported
An input schema is refused (pattern unsupported). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.ref_by_path
An input schema is refused (ref by path). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.ref_escapes
An input schema is refused (ref escapes). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.ref_unresolved
An input schema is refused (ref unresolved). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
schema.syntax
An input schema is refused (syntax). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.amount_currency
An output's path, when or for_each does not parse (amount currency). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.date_format
An output's path, when or for_each does not parse (date format). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.division_by_zero
An output's path, when or for_each does not parse (division by zero). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.duration_format
An output's path, when or for_each does not parse (duration format). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.filter_argument
An output's path, when or for_each does not parse (filter argument). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.include
An output's path, when or for_each does not parse (include). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.number_range
An output's path, when or for_each does not parse (number range). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.safe_position
An output's path, when or for_each does not parse (safe position). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.syntax
An output's path, when or for_each does not parse (syntax). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.tag_context
An output's path, when or for_each does not parse (tag context). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
template.unknown_filter
An output's path, when or for_each does not parse (unknown filter). Next: metais unpack <package> --out <dir>: Unpacks the package once it is fixed or replaced; nothing of a refused package is written.
usage.bad_value
A flag's value is missing, or is not one the flag accepts, or a flag that takes no value is given one. Next: metais unpack --help: Prints the operands and flags metais unpack takes.
usage.missing_operand
The package operand is not given. Next: metais unpack --help: Prints the operands and flags metais unpack takes.
usage.not_a_packed_package
The package operand is a source directory, which is already what unpack writes. Next: metais inspect <package>: Reads the source directory as it is: it is already the editable tree unpack writes.
usage.package_from_stdin
The package operand is -, standard input. Next: metais unpack --help: Prints the operands and flags metais unpack takes.
usage.repeated_flag
A flag that may be given once is given again. Next: metais unpack --help: Prints the operands and flags metais unpack takes.
usage.unexpected_operand
An operand the command does not take. Next: metais unpack --help: Prints the operands and flags metais unpack takes.
usage.unknown_flag
An argument that is not a flag the command accepts, an abbreviated flag, or one-letter aliases written together. Next: metais unpack --help: Prints the operands and flags metais unpack takes.