Generate the autocompletion script for zsh
Generate the autocompletion script for the zsh shell.
If shell completion is not already enabled in your environment you will need to enable it. You can execute the following once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
To load completions in your current shell session:
source <(import completion zsh); compdef _import import
To load completions for every new session, execute once:
import completion zsh > "${fpath[1]}/_import"
import completion zsh > $(brew --prefix)/share/zsh/site-functions/_import
You will need to start a new shell for this setup to take effect.
import completion zsh [flags]
-h, --help help for zsh
--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