Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (35 sloc) 1.113 kb
var fs = require('fs');
var path = require('path');
var defaults = models.Config.defaults;
Bones.Command.options['files'] = {
'title': 'files=[path]',
'description': 'Path to files directory.',
'default': defaults.files.replace(/^~/, process.env.HOME)
};
Bones.Command.options['syncAPI'] = {
'title': 'syncAPI=[URL]',
'description': 'MapBox API URL.',
'default': defaults.syncAPI || ''
};
Bones.Command.options['syncURL'] = {
'title': 'syncURL=[URL]',
'description': 'MapBox sync URL.',
'default': defaults.syncURL || ''
};
Bones.Command.options['syncAccount'] = {
'title': 'syncAccount=[account]',
'description': 'MapBox account name.',
'default': defaults.syncAccount || ''
};
Bones.Command.options['syncAccessToken'] = {
'title': 'syncAccessToken=[token]',
'description': 'MapBox access token.',
'default': defaults.syncAccessToken || ''
};
Bones.Command.options['verbose'] = {
'title': 'verbose=on|off',
'description': 'verbose logging',
'default': defaults.verbose
};
// Host option is unused.
delete Bones.Command.options.host;
Jump to Line
Something went wrong with that request. Please try again.