commit 98609378b5d5a15ac39b666b79b060a1dd29f197
parent ad817caf1f90c4adbcd24ab1bb9d1b314742d29f
Author: Remy Noulin <loader2x@gmail.com>
Date: Mon, 19 Oct 2020 13:17:53 +0200
print options in cyan color in help text (spm)
src/spm.c | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
Diffstat:
| M | src/spm.c | | | 48 | ++++++++++++++++++++++++------------------------ |
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/src/spm.c b/src/spm.c
@@ -175,30 +175,30 @@ int MAIN(int ARGC, char** ARGV) {
put
putsG("For sheepy help, run: sheepy -h");
put
- putsG(" new (PKG1) (PKG2) - create a new empty package, without parameters print default package.yml");
- putsG(" add - add packages in "PACKAGE_DIR" folder to dependencies list in package.yml");
- putsG(" publish - upload package to spm registry");
- putsG(" install (PKG1) (PKG2) - install package from spm registry, without parameters install packages listed in package.yml");
- putsG(" -g install PKG1 (PKG2) - install package globally in the system");
- putsG(" uninstall PKG1 (PKG2) - uninstall package");
- putsG(" -g uninstall PKG1 (PKG2) - uninstall package globally");
- putsG(" test - compile testBin and run");
- putsG(" memcheck - compile memcheckBin and run with the memcheck command");
- putsG(" showmc - show the memcheck command, either in " HOME_DIR CONFIG_NAME " or in package.yml");
- putsG(" doc - generate the documentation by running the documentation command from package.yml");
- putsG(" show (PKG1 PKG2) - show package information in the system");
- putsG(" update|upgrade (PKG1 PKG2) - update package");
- putsG(" -g update|upgrade (PKG1 PKG2) - update packages globally");
- putsG(" find PKG1 (PKG2) - find package in the registry");
- putsG(" top - top packages in the registry");
- putsG(" hot - hot packages in the registry");
- putsG(" latest - latest packages in the registry");
- putsG(" whoami - user associated with the configured api key");
- putsG(" profile USERNAME - show user profile");
- putsG(" unpublish PKG1 (PKG2) - unpublish pacakges in the registry");
- putsG(" info PKG1 (PKG2) - show package information");
- putsG(" adduser - create an account in the registry");
- putsG(" apikey - get api key for a user, to use the key edit the key field in " HOME_DIR CONFIG_NAME); {
+ putsG(BLD CYN" new (PKG1) (PKG2)"RST" - create a new empty package, without parameters print default package.yml");
+ putsG(BLD CYN" add"RST" - add packages in "PACKAGE_DIR" folder to dependencies list in package.yml");
+ putsG(BLD CYN" publish"RST" - upload package to spm registry");
+ putsG(BLD CYN" install (PKG1) (PKG2)"RST" - install package from spm registry, without parameters install packages listed in package.yml");
+ putsG(BLD CYN" -g install PKG1 (PKG2)"RST" - install package globally in the system");
+ putsG(BLD CYN" uninstall PKG1 (PKG2)"RST" - uninstall package");
+ putsG(BLD CYN" -g uninstall PKG1 (PKG2)"RST" - uninstall package globally");
+ putsG(BLD CYN" test"RST" - compile testBin and run");
+ putsG(BLD CYN" memcheck"RST" - compile memcheckBin and run with the memcheck command");
+ putsG(BLD CYN" showmc"RST" - show the memcheck command, either in " HOME_DIR CONFIG_NAME " or in package.yml");
+ putsG(BLD CYN" doc"RST" - generate the documentation by running the documentation command from package.yml");
+ putsG(BLD CYN" show (PKG1 PKG2)"RST" - show package information in the system");
+ putsG(BLD CYN" update|upgrade (PKG1 PKG2)"RST" - update package");
+ putsG(BLD CYN" -g update|upgrade (PKG1 PKG2)"RST" - update packages globally");
+ putsG(BLD CYN" find PKG1 (PKG2)"RST" - find package in the registry");
+ putsG(BLD CYN" top"RST" - top packages in the registry");
+ putsG(BLD CYN" hot"RST" - hot packages in the registry");
+ putsG(BLD CYN" latest"RST" - latest packages in the registry");
+ putsG(BLD CYN" whoami"RST" - user associated with the configured api key");
+ putsG(BLD CYN" profile USERNAME"RST" - show user profile");
+ putsG(BLD CYN" unpublish PKG1 (PKG2)"RST" - unpublish pacakges in the registry");
+ putsG(BLD CYN" info PKG1 (PKG2)"RST" - show package information");
+ putsG(BLD CYN" adduser"RST" - create an account in the registry");
+ putsG(BLD CYN" apikey"RST" - get api key for a user, to use the key edit the key field in " HOME_DIR CONFIG_NAME); {
XSUCCESS
}
}