fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

JadiMake descriptions shorter: iex, jhipster, lpadmin, mocp, rmmode207f8464

master
2.7 KiB37 linesraw
1# JHipster 4.9.0
2
3# Check if command already given
4function __fish_prog_needs_command
5    set -l cmd (commandline -xpc)
6    echo $cmd
7    if test (count $cmd) -eq 1
8        return 0
9    end
10    return 1
11end
12
13# Options
14complete -f -c jhipster -n __fish_prog_needs_command -s d -l debug -d 'Enable debugger'
15complete -f -c jhipster -n __fish_prog_needs_command -s h -l help -d 'Output usage information'
16complete -f -c jhipster -n __fish_prog_needs_command -s V -l version -d 'Output version number'
17
18# Commands
19complete -f -c jhipster -n __fish_prog_needs_command -a app -d 'Create a new JHipster application'
20complete -f -c jhipster -n __fish_prog_needs_command -a aws -d 'Deploy the current application to AWS'
21complete -f -c jhipster -n __fish_prog_needs_command -a ci-cd -d 'Create pipeline scripts for popular CI tools'
22complete -f -c jhipster -n __fish_prog_needs_command -a client -d 'Create a new JHipster client-side application'
23complete -f -c jhipster -n __fish_prog_needs_command -a cloudfoundry -d 'Prepare Cloud Foundry deployment'
24complete -f -c jhipster -n __fish_prog_needs_command -a docker-compose -d 'Create required Docker deployment configs for applications'
25complete -f -c jhipster -n __fish_prog_needs_command -r -a entity -d 'Create a new JHipster entity: JPA, Spring & Angular components'
26complete -f -c jhipster -n __fish_prog_needs_command -r -a export-jdl -d 'Create a JDL file from the existing entities'
27complete -f -c jhipster -n __fish_prog_needs_command -a heroku -d 'Deploy the current application to Heroku'
28complete -f -c jhipster -n __fish_prog_needs_command -r -a import-jdl -d 'Create entities from the JDL file passed in argument'
29complete -f -c jhipster -n __fish_prog_needs_command -a info -d 'Display information about your current project and system'
30complete -f -c jhipster -n __fish_prog_needs_command -a kubernetes -d 'Deploy the current application to Kubernetes'
31complete -f -c jhipster -n __fish_prog_needs_command -r -a languages -d 'Copy i18n files for selected languages to /webapp/i18n'
32complete -f -c jhipster -n __fish_prog_needs_command -a openshift -d 'Deploy the current application to OpenShift'
33complete -f -c jhipster -n __fish_prog_needs_command -a rancher-compose -d 'Deploy the current application to Rancher'
34complete -f -c jhipster -n __fish_prog_needs_command -a server -d 'Create a new JHipster server-side application'
35complete -f -c jhipster -n __fish_prog_needs_command -r -a service -d 'Create a new Spring service bean'
36complete -f -c jhipster -n __fish_prog_needs_command -a upgrade -d 'Upgrade the JHipster and the generated application'
37complete -f -c jhipster -n __fish_prog_needs_command -a completion -d 'Print command completion script'