Skip to content

anystore

Usage:

 [OPTIONS] COMMAND [ARGS]...

Options:

  --version / --no-version  Show version  \[default: no-version]
  --store TEXT              Store base uri  \[default: .anystore]
  --install-completion      Install completion for the current shell.
  --show-completion         Show completion for the current shell, to copy it
                            or customize the installation.

get

Get content of a key from a store

Usage:

 get [OPTIONS] KEY

Options:

  KEY      \[required]
  -o TEXT  \[default: -]

io

Generic i/o wrapper using anystore.io.smart_read and anystore.io.smart_write which is wrapped around fsspec

Usage:

 io [OPTIONS]

Options:

  -i TEXT  Input uri  \[default: -]
  -o TEXT  Output uri  \[default: -]

keys

Iterate keys in given store

Usage:

 keys [OPTIONS]

Options:

  -o TEXT                Output uri  \[default: -]
  --glob TEXT            Key glob
  --prefix TEXT          Key prefix
  --exclude-prefix TEXT  Exclude key prefix

mirror

Mirror stores

Usage:

 mirror [OPTIONS]

Options:

  -i TEXT                       Input store uri  \[required]
  -o TEXT                       Output store uri  \[required]
  --glob TEXT                   Key glob
  --prefix TEXT                 Key prefix
  --exclude-prefix TEXT         Exclude key prefix
  --overwrite / --no-overwrite  Overwrite existing data  \[default: no-
                                overwrite]

put

Put content for a key to a store

Usage:

 put [OPTIONS] KEY [VALUE]

Options:

  KEY      \[required]
  [VALUE]  Use this value instead of reading `-i` uri
  -i TEXT  \[default: -]