We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add init command to CLI for pre-creating configs and scripts with sensible defaults.
init
Subcommands:
yaml
config.yaml
json
config.json
handlebars
config.template.hbs
variables.yaml
All subcommands should create an exec.sh script that wraps the needed bash commands for execution, like this :
exec.sh
guild_id=<YOUR_GUILD_ID> # guild_id=$1 # get the first argument disma apply -g "$guild_id" -i config.<init_extension>
If using template, should add this command before apply :
apply
disma compile -t config.template.hbs -v variables.yaml -o config.yaml
Should maybe also create an exec.ci.sh script that uses the -f flag.
exec.ci.sh
-f
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add
init
command to CLI for pre-creating configs and scripts with sensible defaults.Subcommands:
yaml
: create aconfig.yaml
config filejson
: create aconfig.json
config filehandlebars
: create aconfig.template.hbs
template config with avariables.yaml
variables fileAll subcommands should create an
exec.sh
script that wraps the needed bash commands for execution, like this :If using template, should add this command before
apply
:Should maybe also create an
exec.ci.sh
script that uses the-f
flag.The text was updated successfully, but these errors were encountered: