# stage

> Move and uncompress files from the landing area to the pending area, handling ack files and domain-based directories.

## Synopsis

**starlake stage [options]**

## Description

Move files from the landing directory to the pending directory, applying optional file-level transformations.

Move the files from the landing area to the pending area.

Files are loaded one domain at a time.

Each domain has its own directory and is specified in the "directory" key of Domain YML file
compressed files are uncompressed if a corresponding ack file exist.

Compressed files are recognized by their extension which should be one of .tgz, .zip, .gz.
raw file should also have a corresponding ack file
before moving the files to the pending area, the ack files are deleted.

To import files without ack specify an empty "ack" key (aka ack:"") in the domain YML file.

"ack" is the default ack extension searched for but you may specify a different one in the domain YML file.
````shell
comet import
````

## Parameters

Parameter|Cardinality|Description
---|---|---
--domains `domain1,domain2...`|*Optional*|Domains to stage
--tables `table1,table2...`|*Optional*|Tables to stage
--options `k1=v1,k2=v2...`|*Optional, Unbounded*|Stage arguments to be used as substitutions
--reportFormat `<value>`|*Optional*|Report format: console, json, html
