def about(): """Print outs the Jasy about page""" header("About") jasy.info() info("Command: %s", jasy.env.Task.getCommand()) info("Version: %s", jasy.__version__)
def about(): """Print outs the Jasy about page""" import jasy jasy.info() from jasy.env.Task import getCommand Console.info("Command: %s", getCommand()) Console.info("Version: %s", jasy.__version__)
def about(): """Print outs the Jasy about page.""" import jasy jasy.info() from jasy.env.Task import getCommand Console.info("Command: %s", getCommand()) Console.info("Version: %s", jasy.__version__)
def help(): """Shows this help screen""" header("Showing Help") jasy.info() print(colorize(colorize("Usage", "underline"), "bold")) print(" $ jasy [<options...>] <task1> [<args...>] [<task2> [<args...>]]") print() print(colorize(colorize("Global Options", "underline"), "bold")) jasy.env.Task.getOptions().printOptions() print() print(colorize(colorize("Available Tasks", "underline"), "bold")) jasy.env.Task.printTasks() print()
def help(): """Shows this help screen.""" import jasy jasy.info() print(Console.colorize(Console.colorize("Usage", "underline"), "bold")) print(" $ jasy [<options...>] <task1> [<args...>] [<task2> [<args...>]]") print() print(Console.colorize(Console.colorize("Global Options", "underline"), "bold")) Task.getOptions().printOptions() print() print(Console.colorize(Console.colorize("Available Tasks", "underline"), "bold")) Task.printTasks() print()