Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Only print out valid options for generator #189

Closed
tfrank64 opened this issue May 3, 2017 · 7 comments
Closed

Only print out valid options for generator #189

tfrank64 opened this issue May 3, 2017 · 7 comments

Comments

@tfrank64
Copy link
Contributor

tfrank64 commented May 3, 2017

When you run yo swiftserver --help we are given multiple options, but a few of them don't work properly. We need to either fix them or remove them. For example, the -h option does not do anything, it just starts the generator.

Review:

  • -h
  • --skip-cache
  • --skip-install

Related to #41

@ghost
Copy link

ghost commented May 16, 2018

This appears to have been fixed?

screen shot 2018-05-16 at 9 44 26 am

@christiancompton
Copy link
Member

@ibm-jason do each of the options, particularly --skip-install, --skip-cache behave as expected?

@ghost
Copy link

ghost commented May 16, 2018

yo swiftserver --skip-install:
https://asciinema.org/a/AEEXYaEatDpsMRwSpQmjQr0zC

yo swiftserver --skip-cache:
https://asciinema.org/a/35HvVTfYr1ixEndHmmGyBllPM

@ghost
Copy link

ghost commented May 16, 2018

@christiancompton: Question(s):

  1. How should I validate --skip-cache option? Is there an answer file that's generated (or something) that stores the answers to the prompted questions, and in this case that file would not be created?

  2. Same question for --skip-install- does this mean that the dependency modules like FileKit and SwiftyRequest not built and added to the project?

@christiancompton
Copy link
Member

@ibm-jason I am investigating - it seems that these options are really useful for Node/NPM, but it is not immediately clear how they should behave for Swift...

There are several options, documented in our README that should be added to this list, i.e. --bluemix .

@ghost
Copy link

ghost commented May 22, 2018

@christiancompton - any updates on how each of these options (--skip-cache and --skip-install) would be useful in the Swift sense?

@christiancompton
Copy link
Member

Closing as complete.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants