io7m | single-page | multi-page | epub | Montarre User Manual 0.0.5
5.6. package check
Previous
5. Command Line
Up
5.8. package pack
Next

# 5.7. package extract-declaration

- 5.7.1. Name
- 5.7.2. Description
- 5.7.3. Parameters
- 5.7.4. Examples

## 5.7.1. Name

1
package extract-declaration - Extract a package declaration from a file without validation.

## 5.7.2. Description

1
The package extract-declaration command prints the serialized package declaration from the given package file.

## 5.7.3. Parameters

### 5.7.3.1. --file

Attribute | Value
--- | ---
Name | --file
Type | java.nio.file.Path
Default Value |
Cardinality | [1, 1]
Description | The input file.

### 5.7.3.2. --verbose

Attribute | Value
--- | ---
Name | --verbose
Type | com.io7m.quarrel.ext.logback.QLogLevel
Default Value | info
Cardinality | [1, 1]
Description | Set the logging level of the application.

## 5.7.4. Examples

### 5.7.4.1. Example

    $ montarre package extract-declaration --file com.io7m.montarre.distribution/target/com.io7m.montarre.distribution-0.0.1-SNAPSHOT.mpk
    <Package xmlns="urn:com.io7m.montarre.package:1">
        <Metadata ApplicationKind="CONSOLE">
            <Category Name="Building"></Category>
    ...

5.6. package check
Previous
5. Command Line
Up
5.8. package pack
Next
io7m | single-page | multi-page | epub | Montarre User Manual 0.0.5