Command line interface (CLI)#

The CLI is invoked by typing:

glopan

or

python -m glopan

The CLI is documented below.

glopan#

✨🥞✨ v0.0.2.

glopan [OPTIONS] COMMAND [ARGS]...

combine#

Combine several files to one. Provide either a list of the files to combine, or the format of the files to combine.

glopan combine [OPTIONS] [FILENAMES]...

Options

-f, --format <file_format>#

Combine all files of this format

-o, --outfile <outfile>#

The name of the combined file

Arguments

FILENAMES#

Optional argument(s)

config#

Set, list or reset the configuration

glopan config [OPTIONS] COMMAND [ARGS]...

list#

List the current configuration.

glopan config list [OPTIONS]

reset#

Reset the configuration to an empty state.

glopan config reset [OPTIONS]

set#

Set the value of a configuration key.

glopan config set [OPTIONS] KEY VALUE

Arguments

KEY#

Required argument

VALUE#

Required argument

convert#

Convert a file to a given format. Provide either the name of a file to convert or the format to convert from. If only the format to convert from is given, all the files of the given format will be converted.

glopan convert [OPTIONS] [FILENAME]

Options

-ff, --fromformat <from_format>#

The format to convert from

-tf, --toformat <to_format>#

Required The format to convert to

Arguments

FILENAME#

Optional argument