Start United States USA — software 10 Things You May Not Know About CLI

10 Things You May Not Know About CLI

106
0
TEILEN

See some things about CLI that you might not know about.
Join the DZone community and get the full member experience. I was playing around with the CLI to see how I can incorporate it into demos and wanted to share a couple of things to remind people of its capabilities. Note for interactive usage of the CLI, i.e., as a human, you can log in to the platform using your organization’s domain name and password if your organization is delegating authentication to your corporate IdP. Typing the command below will open a browser for you to log in: amplify auth login. If you want to run the CLI unattended for example, in CI/CD scripts, you can use a service account for logging into the platformamplify auth login -client-id -secret-file When you have logged in, you can select the organization that you want to use when running the command line. Here is the list of configured environments in my organization: The above specifies the format of output which can be JSON or YAML.

Continue reading...