mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
9367d4ff71
This does not include checks/function.fish because that currently includes a "; end" in a message that indent would remove, breaking the test.
38 lines
2.8 KiB
Fish
38 lines
2.8 KiB
Fish
# JHipster 4.9.0
|
|
|
|
# Check if command already given
|
|
function __fish_prog_needs_command
|
|
set cmd (commandline -opc)
|
|
echo $cmd
|
|
if [ (count $cmd) -eq 1 ]
|
|
return 0
|
|
end
|
|
return 1
|
|
end
|
|
|
|
# Options
|
|
complete -f -c jhipster -n __fish_prog_needs_command -s d -l debug -d 'Enable debugger'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -s h -l help -d 'Output usage information'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -s V -l version -d 'Output version number'
|
|
|
|
# Commands
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a app -d 'Create a new JHipster application'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a aws -d 'Deploy the current application to AWS'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a ci-cd -d 'Create pipeline scripts for popular CI tools'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a client -d 'Create a new JHipster client-side application'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a cloudfoundry -d 'Prepare Cloud Foundry deployment'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a docker-compose -d 'Create all required Docker deployment configuration for the selected applications'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -r -a entity -d 'Create a new JHipster entity: JPA entity, Spring server-side components and Angular client-side components'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -r -a export-jdl -d 'Create a JDL file from the existing entities'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a heroku -d 'Deploy the current application to Heroku'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -r -a import-jdl -d 'Create entities from the JDL file passed in argument'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a info -d 'Display information about your current project and system'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a kubernetes -d 'Deploy the current application to Kubernetes'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -r -a languages -d 'Select languages from a list of available languages. The i18n files will be copied to the /webapp/i18n folder'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a openshift -d 'Deploy the current application to OpenShift'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a rancher-compose -d 'Deploy the current application to Rancher'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a server -d 'Create a new JHipster server-side application'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -r -a service -d 'Create a new Spring service bean'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a upgrade -d 'Upgrade the JHipster version and the generated application'
|
|
complete -f -c jhipster -n __fish_prog_needs_command -a completion -d 'Print command completion script'
|