-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
specialize denv init for script writers (#142)
This introduces four new command line flags to the `denv init` CLI making it easier for script writers to avoid the user prompt if desired. This follows the idea outlined in #140 (comment) `--[no-]mkdir` answers the prompt about if denv is allowed to create the workspace directory if it doesn't exist. `--[no-]over` answers the prompt about if denv is allowed to overwrite/override an existing configuration Besides the introduction of these flags, more tests were included to make sure they are oprational. The manual and CLI help was updated accordingly, and some cleanup was done to use true/false instead of 1/0 within variables storing the results of these flags.
- Loading branch information
1 parent
e655a83
commit 41960e7
Showing
3 changed files
with
108 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters