Skip to content
New issue

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

Allow flags for dce init #80

Open
nathanagood opened this issue Apr 1, 2020 · 0 comments
Open

Allow flags for dce init #80

nathanagood opened this issue Apr 1, 2020 · 0 comments

Comments

@nathanagood
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The dce init command only works by prompting a user for the API URL and other information. Anything that is required should be able to be provided on the command line so dce init can be called in scripts.

Describe the solution you'd like

Something like dce init --api-url https://api.example.com. Basepath should be able to be provided but should just default to 'api', which will be the case for anyone except advanced users.

Describe alternatives you've considered

Using cat to write the config file works, but that could change at any time since it's not really documented behavior, nor is the format of the configuration file documented because while it's there editing the file outside the use of the CLI isn't particularly encouraged.

Additional context

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

No branches or pull requests

1 participant