Generate the autocompletion script for bash
Generate the autocompletion script for the bash shell.
This script depends on the 'bash-completion' package. If it is not installed already, you can install it via your OS's package manager.
To load completions in your current shell session:
source <(import completion bash)
To load completions for every new session, execute once:
import completion bash > /etc/bash_completion.d/import
import completion bash > $(brew --prefix)/etc/bash_completion.d/import
You will need to start a new shell for this setup to take effect.
import completion bash
-h, --help help for bash
--no-descriptions disable completion descriptions
--access-key string access key for S3 server
--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
- import completion - Generate the autocompletion script for the specified shell