[breaking] support default options .ultraman #44
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Resolve #37
.ultraman
)Breaking
For convenience of supporting default options
no-timestamp
orn
can no longer be treated as a flag.😅Work
start
when
.ultraman
exitsnot exits
.ultraman
$ cargo run start \ -m loop=2,exit_1=3 \ -e ./.env \ -f ./Procfile \ -p 7000 \ -t 10 \ -n false
run
when
.ultraman
exitsnot exists
.ultraman
export
when
.ultraman
exitsnot exits
.ultraman
$ cargo run export supervisord ./tmp/supervisord \ -m all=2 \ -e .env \ -f Procfile \ -p 7000 \ -a example-app \ -l ./tmp/supervisord/log \ -r ./tmp/supervisord/run \ -T ../../src/cmd/export/templates/supervisord \ -u root \ -d /home/app \ -t 10
cargo run export supervisord ./tmp/supervisord \ --formation loop=1,exit_0=2 \ --env .env \ --procfile Procfile \ --port 7000 \ --app example-app \ --log ./tmp/supervisord/log \ --run ./tmp/supervisord/run \ --template ../../src/cmd/export/templates/supervisord \ --user root \ --root /home/app \ --timeout 10
Test