Full documentation is at https://www.jhipster.tech/oh-my-zsh/.
jhipster / jhipster-oh-my-zsh-plugin Goto Github PK
View Code? Open in Web Editor NEWJHipster plugin for oh-my-zsh
License: Apache License 2.0
JHipster plugin for oh-my-zsh
License: Apache License 2.0
Full documentation is at https://www.jhipster.tech/oh-my-zsh/.
jhyl ?
If you use the latest code from JHipster's repo, commands like jhkeycloak
don't work.
ERROR: The Compose file './src/main/docker/keycloak.yml' is invalid because:
'name' does not match any of the regexes: '^x-'
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/
Workaround:
cd ~/.oh-my-zsh/custom/plugins/jhipster
Modify jhipster.plugin.zsh
to replace docker-compose
with docker compose
. Then, open a new terminal.
Currently all the docker aliases are basically a shortcut to run the full docker command
jhmysqlup
-> docker-compose -f src/main/docker/mysql.yml up -d
All the aliases have the same patten
docker-compose -f src/main/docker/<COMPONENT>.yml <COMMAND>
The aim would be to create a oh-my-zsh function fo support auto-suggestions about docker components and commands.
The suggestion relies on 2 steps, first the components are basically the YAML file name present in the src/main/docker
directory:
basename $(ls src/main/docker/*.yml) | cut -d '.' -f 1)
Regarding the command, letss keep it simple, a switch on up
, down
and logs
commands is good enough to start.
I'm a total noob about oh-my-zsh auto-suggestions scripts. I'll try to propose something but if someone is familiar is comfortable with this kind of script, help is welcome.
Is there a reason why docker-compose -f src/main/docker/app.yml up -d
does not have any shortcut?
If not, I can create a PR with jhappup
, jhappdown
, jhappstop
and jhapplogs
added.
And maybe another one with jhdock
(package docker) and jhappup
combined: jhdockup
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.