Commit graph

14 commits

Author SHA1 Message Date
antizealot1337
4cc1d44bdd Reuse -y to mean accept defaults for init command for #288 (#437)
* Reuse -y to mean accept defaults for init command

* Change cli.promptCustom to accept a ForcePrompt value and delegate prompting responsiblity to it

* Add prompt for different license selection

* Remove extra spaces in category in promptCustom and promptList

* Fix bug that always returned MIT

* Add LGPL3 to array of licenses

* Change to not prompt at all for package name

* Change to not prompt for author if acquired from vcs and moved before prompting for version

* Reduce excess indenting

* Create tools.writeContents to contain file writting functionality and use it to write the nimble file

* Create package src directory and add it to the nimble file

* Write an initial source file

* Create directory and files needed for testing

* Add package created message and change priority of nimble file creation

* Rearrange args for promptCustom and add another promptCustom function that doesn't accept ForcePrompt

* Add package type prompt, remove writeContents proc, rename initial test file, provide alternate initial file contents based on type, and other minor improvements
2017-12-21 23:11:02 +00:00
Dominik Picheta
c7b97bb206 Implements check command. 2017-10-15 15:28:29 +01:00
Dominik Picheta
bdfb681824 Fixes #290. 2017-08-19 21:22:48 +01:00
Dominik Picheta
d9f2e6c49e Implement --noColor option. 2017-04-30 15:40:46 +01:00
Dominik Picheta
a111d5f3b9 Implement promptCustom in cli and use it for init command. 2016-12-22 16:13:36 +01:00
Dominik Picheta
cb1248a9b4 Fix --nimbledir for c command and separate flags into actions. 2016-12-22 14:38:22 +01:00
Dominik Picheta
a04848060b Use cli for remove command messages. Improve prompt. 2016-12-22 11:29:48 +01:00
Dominik Picheta
22929add07 Spice up the prompts. 2016-12-21 22:56:39 +01:00
Dominik Picheta
17ddbc3214 Add colons to non-verb categories in cli.display. 2016-12-21 22:11:47 +01:00
Dominik Picheta
87d6f85aea Implement debug messages and wrap exec output in them. 2016-12-21 20:09:53 +01:00
Dominik Picheta
2dab010c23 Implement --verbosity switch. 2016-12-20 00:01:39 +01:00
Dominik Picheta
8ebc4bb7c1 Implement message suppression. 2016-12-19 23:49:41 +01:00
Dominik Picheta
dcbbb8b62e Switch 'refresh' command to new CLI module. 2016-12-19 23:35:27 +01:00
Dominik Picheta
3c22ffd848 Implements a nimblepkg/cli module which formats output messages. 2016-12-19 21:42:02 +01:00