Interface ImportOptions

ImportOptions defines the supported options for the git-annex import command.

Hierarchy

Properties

--backend?: string

Specifies the key-value backend to use when importing from a special remote. Method GitAnnexAPI.getBackends obtains a list of backend names.

--content?: null

Downloads annexed content from the special remote. See also --no-content.

--debug?: null

Displays debug messages.

--debugfilter?: string | string[]

Shows debug messages coming from a module.

--explain?: null

Displays explanations of what git-annex takes into account when deciding what to do.

--fast?: null

Avoids slow operations normally performed by a command.

--force?: null

Allows actions that may lose annexed data

--from?: string

Specifies the source special remote.

--jobs?: string | number

Specifies the number of cores to use for importing multiple files in parallel.

--json?: null

Produces a JSON object on each line of output. Type predicate isActionResult may be passed to safeParse or safeParseToArray when processing the output.

--json-error-messages?: null

Includes error messages in the json instead of sending them to standard error.

--json-progress?: null

Includes progress objects in JSON output. Specifying --json-progress automatically enables --json. Type predicate isActionProgress may be passed to safeParse or safeParseToArray when processing the output.

--mincopies?: string | number

Overrides the mincopies setting.

--no-check-gitignore?: null

Adds gitignored files.

--no-content?: null

Does not download annexed content from the special remote. git-annex keys are generated from information provided by the special remote. See also --content.

--no-debug?: null

Prevents debug message display.

--numcopies?: string | number

Overrides the numcopies setting.

--quiet?: null

Suppresses verbose output.

--size-limit?: string

Limits the total size of annexed files a git-annex command can process.

--time-limit?: string

Limits the duration of a git-annex command.

--verbose?: null

Enables verbose display.

-c?: [string, string] | [string, string][]

Overrides Git configuration settings.