Add Atmos CLI command aliases @aknysh (#547)
what
- Add Atmos CLI command aliases
- Update docs https://atmos.tools/cli/configuration/#aliases
why
An alias lets you create a shortcut name for an existing CLI command. Any CLI command can be aliased, including the Atmos native commands like terraform apply
or describe stacks
, as well as Atmos Custom Commands.
CLI command aliases are configured in the aliases
section in the atmos.yaml
file.
For example:
aliases:
# Aliases for Atmos native commands
tf: terraform
tp: terraform plan
up: terraform apply
down: terraform destroy
ds: describe stacks
dc: describe component
# Aliases for Atmos custom commands
ls: list stacks
lc: list components
Execute an alias as you would any Atmos native or custom command:
> atmos ls
plat-ue2-dev
plat-ue2-prod
plat-ue2-staging
plat-uw2-dev
plat-uw2-prod
plat-uw2-staging
The aliases configured in the aliases
section automatically appear in Atmos help, and are shown as
alias for '<command>'
.
For example:
An alias automatically supports all command line arguments and flags that the aliased command accepts.
For example:
atmos up <component> -s <stack>
supports all the parameters from the aliased commandatmos terraform apply <component> -s <stack>
atmos dc <component> -s <stack>
supports all the parameters from the aliased commandatmos describe component <component> -s <stack>
references
- closes #506
Bump the website group in /website with 1 update @dependabot (#545)
Bumps the website group in /website with 1 update: @mdx-js/react.
Updates Sourced from Full Changelog: mdx-js/mdx@3.0.0...3.0.1
@mdx-js/react
from 3.0.0 to 3.0.1
Release notes
@mdx-js/react
's releases.
3.0.1
Fix
@remcohaszing
in mdx-js/mdx#2438
@remcohaszing
in mdx-js/mdx#2398
Types
@remcohaszing
in mdx-js/mdx#2386
Site
@ManasMakde
in mdx-js/mdx#2392
@ky1ejs
in mdx-js/mdx#2383
Commits
78aee48
3.0.1
c03e16c
Add declaration maps
0e6dd7a
Update dev-dependencies
038bb68
Refactor some version numbers in docs
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions