@tokens-studio/sdk
Version:
The official SDK for Tokens Studio
34 lines • 1.02 kB
JavaScript
export const commands = ['pull', 'setup'];
export const argsSpec = {
'--help': {
type: Boolean,
aliases: [],
desc: 'Shows an overview of CLI usage',
appliesTo: ['', 'pull', 'setup'],
},
'--version': {
type: Boolean,
aliases: [],
desc: 'Prints NPM version of the CLI',
appliesTo: [''],
},
'--host': {
type: String,
aliases: ['-h'],
desc: 'Configure the GraphQL endpoint host address, e.g. localhost:4200',
appliesTo: ['pull', 'setup'],
},
'--insecure': {
type: Boolean,
aliases: ['-i'],
desc: 'When enabled, insecure connection for HTTP (http://) and WebSocket (ws://) connection',
appliesTo: ['pull', 'setup'],
},
'--config': {
type: String,
aliases: ['-c'],
desc: 'Provide a custom folder path which includes the .tokensstudio.json config file',
appliesTo: ['pull', 'setup'],
},
};
//# sourceMappingURL=args-spec.js.map