Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 2.17 KB

File metadata and controls

45 lines (36 loc) · 2.17 KB

import

cli for importing dictybase data for migration

Synopsis

A command line application for importing dictyBase data. The application is organized into subcommands which in turn has their own subcommands for importing different kind of data. Each loading sub-subcommand is generally expected to consume csv formatted data either directly from a source file or through a file that is kept in a particular bucket of a S3 server.

import [flags]

Options

      --access-key string             access key for S3 server
      --doc                           generate markdown documentation
  -h, --help                          help for import
      --input-source string           source of the file, could be one of bucket or folder (default "bucket")
      --log-file string               file for log output other than standard output, written to a temp folder by default
      --log-file-bucket string        S3 bucket for log file (default "dictybase")
      --log-file-bucket-path string   S3 path inside the bucket for storing log file (default "import/log")
      --log-format string             format of the logging out, either of json or text (default "json")
      --log-level string              log level for the application (default "error")
      --s3-bucket string              S3 bucket for input files (default "dictybase")
      --s3-bucket-path string         path inside S3 bucket for input files[REQUIRED]
      --s3-server string              S3 server endpoint (default "minio")
      --s3-server-port string         S3 server port
      --secret-key string             secret key for S3 server

SEE ALSO

Auto generated by spf13/cobra on 15-Jul-2022