module Stars::CLI

Extended Modules

Defined in:

cli.cr
cli/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

Instance Method Detail

def fatal(message : String) #

[View source]
def get_star_yml_field(field_name : String, optional = false, search_path = path) : YAML::Any | Nil #

[View source]
def path : String #

[View source]
def run #

[View source]
def set_star_yml_field(field_name : String, value : YAML::Any, search_path = path) : Nil #

[View source]