kulmio v0.4.0
Kulmio development service runner
Basic syntax:
kulmio configfile command arguments
kulmio configfile command arguments servicesIf environment variable KULMIO_CONFIG is set, you do not need to be explicit about the config file.
kulmio command argumentsIf automatic detection logic fails, you can explicitly indicate that KULMIO_CONFIG is to be usd by
using --env as the configfile
kulmio --env command argumentsFor convenience, command can be at the end of the command line instead of its usual location. That is, the following two do the same thing:
kulmio start servicename
kulmio servicename startIf a service name matches the name of a command, it is assumed that the command comes before service names.
Dependencies
- nodejs
- pgrep
Installing
npm i -g kulmioCommands
In the examples is is assumed that the environment variable KULMIO_CONFIG is set to the config file.
status
Outputs the status of all the services in the config
kulmio statusbuild
Runs the build commands specified for the services
kulmio build service
kulmio build service1 service2 service3start
Starts a background service
kulmio start service
kulmio start service1 service2 service3run
Runs a service in the current terminal.
kulmio run serviceAll the services are run in a screen, allowing you to do the usual screen things
stop
Stops services
kulmio stop service
kulmio stop service1 service2 service3restart
Restarts services
kulmio restart service
kulmio restart service1 service2 service3logs
Displays service logs
kulmio logs service
kulmio logs service1 service2 service3
kulmio logs -f serviceArguments to logs are passed as parameters to tail, so anything supported by tail can be used.
screen
Access the screen of a running service
kulmio screen service