UNPKG

2.17 kBMarkdownView Raw
1# Exito CLI
2
3## Instalación
4
5```bash
6npm i exito
7
8npm i -g exito
9```
10
11Comandos disponibles:
12
13```bash
14
15$ exito
16
17 Usage: exito <command> [options]
18
19 Commands:
20
21 init Create basic files and folders for your VTEX app
22
23 credentials Manage your credentials for aws
24 credentials get Gets the current credentials used in aws
25 credentials clear Clear the current credentials used in aws
26 credentials set <username> <pwd> Sets the current credentials for aws
27
28 aws Aws options
29 aws clone <criteria> [branch] [all] Clone specific list of projectos from aws, if your add the option <all>
30
31 run Execute options with the cli
32 run triggers Run a local triggers.json
33
34 generate Generate options for the project
35 generate vtex_json Create the json file config of vtex
36 generate workspaces Create the workspaces config for develops
37 generate sonar <repository> <version> <src> Create the sonar file for test
38 generate trigger <arn> Create the triggers config for the indicate proyects
39
40 vtex Vtex options
41 vtex run <command> [all] Execute specific command from vtex, the current commands suport is: <link>, <publish>
42 vtex npm_install Install the dependencies in the curren proyect.
43 vtex coverage Run the coverage process in the proyect
44 vtex publish Publish only one component into Vtex
45 vtex login <account> <workspace> <email> Set credentials for vtex in the config file from vtex
46 vtex set_vendor <vendor> Set the vendor name in the manifest file
47
48 Options:
49
50 -h, --help show help information
51
52```
53
54## Desarollo local
55
56Start `npm run ts-watch`
57
58local `sudo npm link` ò `node npm link`
59
60## Promover a npm
61
62Publish to npm `sudo npm publish`