Skip to content

Instantly share code, notes, and snippets.

@aceat64
Last active August 29, 2015 14:11
Show Gist options
  • Save aceat64/82df3918b39a56c24470 to your computer and use it in GitHub Desktop.
Save aceat64/82df3918b39a56c24470 to your computer and use it in GitHub Desktop.
Random new lines on output
<?php
$parser->addSubcommand('sharepoint', array(
'help' => __('Import from sharepoint csv'),
'parser' => array(
'description' => array(
"Use this command to import assets from a CSV file created by sharepoint.",
"The file argument is required for this command.",
"The following fields are required: serial number, asset tag, model, vendor | manufacturer, bundle id | service id",
),
'arguments' => array(
'file' => array(
'help' => __('File to import'),
'required' => true,
),
)
)
));
?>
$ cake import sharepoint
Use this command to import assets from a CSV file created by
sharepoint.
The file argument is required for this command.
The
following fields are required: serial number, asset tag, model, vendor |
manufacturer, bundle id | service id
Usage:
cake import sharepoint [-h] [-v] [-q] <file>
Options:
--help, -h Display this help.
--verbose, -v Enable verbose output.
--quiet, -q Enable quiet output.
Arguments:
file File to import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment