Add CLI documentation

This commit is contained in:
Frédéric Guillot
2014-07-20 08:34:35 -02:30
parent 833bd3f8a9
commit 4ae655ced3
3 changed files with 47 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ $cli = new Cli;
// Usage
$cli->register('help', function() {
echo 'Kanboard command line interface'.PHP_EOL.'==============================='.PHP_EOL;
echo 'Kanboard command line interface'.PHP_EOL.'==============================='.PHP_EOL.PHP_EOL;
echo '- Task export to stdout (CSV format): '.$GLOBALS['argv'][0].' export-csv <project_id> <start_date> <end_date>'.PHP_EOL;
});