-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the ability to set booleans and numbers
This is the default for values that look like bools and numbers on the command line. To coerce them to strings, wrap two layers of quotes around them. Why two layers? Because your shell removes the first layer as part of its argument parsing. So to set a boolean: tomato set is.this.sparta true citystates.toml To set a string: tomato set is.this.sparta '"true"' citystates.toml Use the same approach for numbers. Documented this feature in the readme. This should fix # 2: Ability to set non-string values
- Loading branch information
Showing
2 changed files
with
184 additions
and
7 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