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

Add check command #213

Closed
GantMan opened this issue Aug 2, 2018 · 1 comment
Closed

Add check command #213

GantMan opened this issue Aug 2, 2018 · 1 comment

Comments

@GantMan
Copy link
Member

GantMan commented Aug 2, 2018

Check command will look up a given solidarity check JSON, and run it.

Basically like storing you .solidarity files on the cloud. This lets you take care of everything without having a local file. Great for checking non-project based environments.

example 1:

solidarity check react-native
#  Checks if your machine is ready for react-native 

example 2:

solidarity check http://www.nachos.com/myFile.txt
# Takes a URI to a file
@GantMan
Copy link
Member Author

GantMan commented Aug 4, 2018

Switching syntax to:

solidarity -k react-native
solidarity --check react-native

That way it can be a flag used on report as well.

solidarity report -k react-native
solidarity report --check react-native

@GantMan GantMan mentioned this issue Aug 10, 2018
GantMan added a commit that referenced this issue Aug 11, 2018
* starting check option

* primed to move functionality down to function

* shifting getSettings to async + tests

* basic solidarity setup

* properly parse json5 strings

* move check to stack

* now uses Solidarity Stacks repo

* fix shortcut and help

* verbiage chage

* no more local file

* fix folder flag

* fixing up tests

* break out helpers and write tests

* fix for tsc

* no more check folder

* adding CLI Options docs

* fix silent bug

* fix naming collision

* fix up tests

Closes #213
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