Skip to content

Output configuration after calling configure command#283

Merged
Tonkpils merged 1 commit intomasterfrom
config-output
Jan 26, 2016
Merged

Output configuration after calling configure command#283
Tonkpils merged 1 commit intomasterfrom
config-output

Conversation

@kytrinyx
Copy link
Copy Markdown
Member

$ exercism configure --key=abc123

Configuration written to /Users/kytrinyx/.exercism.json
  --key=abc123
  --dir=/Users/kytrinyx/exercism
  --host=http://localhost:4567
  --api=http://x.exercism.io

By extension this will also give you your current config values if you
call configure without any flags. It's faster than the debug command
(because of the latency checks), and it's useful during development
when you might be talking to a local version of the app in one moment
and then need to switch to the production version the next.

    $ exercism configure --key=abc123

    Configuration written to /Users/kytrinyx/.exercism.json
      --key=abc123
      --dir=/Users/kytrinyx/exercism
      --host=http://localhost:4567
      --api=http://x.exercism.io

By extension this will also give you your current config values if you
call configure without any flags. It's faster than the debug command
(because of the latency checks), and it's useful during development
when you might be talking to a local version of the app in one moment
and then need to switch to the production version the next.
@Tonkpils
Copy link
Copy Markdown
Contributor

👍 ✨

Tonkpils added a commit that referenced this pull request Jan 26, 2016
Output configuration after calling configure command
@Tonkpils Tonkpils merged commit 66af7f1 into master Jan 26, 2016
@Tonkpils Tonkpils deleted the config-output branch January 26, 2016 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants