module Stars::CLI
Extended Modules
Defined in:
cli.crcli/colors.cr
Constant Summary
-
HELP_MENU =
"Thank you for using Stars!\nUsage: stars [<options>...] [<command>]\n\nCommands:\n init - Initialize a `star.yml` file.\n run - Run the `entry_point` field of a `star.yml` file with Cosmo\n install [<package-name>] - Install dependencies, creating or using the `star.lock` file. (WIP)\n list - List installed dependencies. (WIP)\n lock [--update] [<shards>...] - Lock dependencies in `star.lock` but doesn't install them. (WIP)\n publish [<package-name>] - Upload a Star to the registry. (WIP)\n register - Register as a Stars author\n update [<shards>...] - Update dependencies and `star.lock`. (WIP)\n version [<path>] - Print the current version of the star. (WIP)\n\nGeneral options:"
Instance Method Summary
- #fatal(message : String)
- #get_star_yml_field(field_name : String, optional = false, search_path = path) : YAML::Any | Nil
- #path : String
- #run
- #set_star_yml_field(field_name : String, value : YAML::Any, search_path = path) : Nil
Instance Method Detail
def get_star_yml_field(field_name : String, optional = false, search_path = path) : YAML::Any | Nil
#
def set_star_yml_field(field_name : String, value : YAML::Any, search_path = path) : Nil
#