|
1 | 1 | export const constantCommandsToCreateStack = { |
2 | | - title: 'Create Stack', |
| 2 | + title: 'Stack Cheatsheet', |
3 | 3 | documentation: 'https://docs.zenml.io/starter-guide/stacks', |
4 | 4 | body: [ |
5 | 5 | { |
6 | | - text: 'Create a pipeline', |
| 6 | + text: 'Register a stack', |
7 | 7 | isCode: false, |
8 | 8 | }, |
9 | 9 | { |
10 | | - text: 'zenml pipeline run -c config.yaml run.py', |
| 10 | + text: 'zenml stack register STACK_NAME -o default -a default', |
11 | 11 | isCode: true, |
12 | 12 | }, |
13 | 13 | { |
14 | | - text: 'yarn start', |
| 14 | + text: 'List stacks', |
15 | 15 | isCode: false, |
16 | 16 | }, |
17 | 17 | { |
18 | | - text: 'yarn start', |
| 18 | + text: 'zenml stack list', |
19 | 19 | isCode: true, |
20 | 20 | }, |
21 | 21 | { |
22 | | - text: 'yarn start', |
23 | | - isCode: true, |
| 22 | + text: 'Set stack active', |
| 23 | + isCode: false, |
24 | 24 | }, |
25 | 25 | { |
26 | | - text: 'yarn start', |
| 26 | + text: 'zenml stack set STACK_NAME', |
27 | 27 | isCode: true, |
28 | 28 | }, |
29 | | - { |
30 | | - text: 'you can set it active', |
31 | | - isCode: false, |
32 | | - }, |
33 | 29 | ], |
34 | 30 | }; |
35 | 31 |
|
@@ -71,63 +67,55 @@ export const constantCommandsToCreateComponent = { |
71 | 67 | type: 'alerter', |
72 | 68 | body: [ |
73 | 69 | { |
74 | | - text: 'you can set it active', |
| 70 | + text: 'Register an alerter', |
75 | 71 | isCode: false, |
76 | 72 | }, |
77 | 73 | { |
78 | | - text: 'yarn start alerter ', |
| 74 | + text: 'zenml alerter register <ALERTER_NAME> -f <FLAVOR>', |
79 | 75 | isCode: true, |
80 | 76 | }, |
81 | 77 | { |
82 | | - text: 'yarn start alerter', |
83 | | - isCode: true, |
| 78 | + text: 'List alerters', |
| 79 | + isCode: false, |
84 | 80 | }, |
85 | 81 | { |
86 | | - text: 'yarn start alerter', |
| 82 | + text: 'zenml alerter list', |
87 | 83 | isCode: true, |
88 | 84 | }, |
89 | 85 | { |
90 | | - text: 'yarn start alerter', |
91 | | - isCode: true, |
| 86 | + text: 'See alerter flavors', |
| 87 | + isCode: false, |
92 | 88 | }, |
93 | 89 | { |
94 | | - text: 'yarn start alerter', |
| 90 | + text: 'zenml alerter flavor list', |
95 | 91 | isCode: true, |
96 | 92 | }, |
97 | | - { |
98 | | - text: 'you can set it active', |
99 | | - isCode: false, |
100 | | - }, |
101 | 93 | ], |
102 | 94 | }, |
103 | 95 | defaultBody: [ |
104 | 96 | { |
105 | | - text: 'you can set it default', |
| 97 | + text: 'Register a stack component', |
106 | 98 | isCode: false, |
107 | 99 | }, |
108 | 100 | { |
109 | | - text: 'yarn start default ', |
| 101 | + text: 'zenml <STACK-COMPONENT> register <STACK_COMP_NAME> -f <FLAVOR>', |
110 | 102 | isCode: true, |
111 | 103 | }, |
112 | 104 | { |
113 | | - text: 'yarn start default', |
114 | | - isCode: true, |
| 105 | + text: 'List stack component', |
| 106 | + isCode: false, |
115 | 107 | }, |
116 | 108 | { |
117 | | - text: 'yarn start default', |
| 109 | + text: 'zenml <STACK-COMPONENT> list', |
118 | 110 | isCode: true, |
119 | 111 | }, |
120 | 112 | { |
121 | | - text: 'yarn start default', |
122 | | - isCode: true, |
| 113 | + text: 'See stack component flavors', |
| 114 | + isCode: false, |
123 | 115 | }, |
124 | 116 | { |
125 | | - text: 'yarn start default', |
| 117 | + text: 'zenml <STACK-COMPONENT> flavor list', |
126 | 118 | isCode: true, |
127 | 119 | }, |
128 | | - { |
129 | | - text: 'you can set it default', |
130 | | - isCode: false, |
131 | | - }, |
132 | 120 | ], |
133 | 121 | }; |
0 commit comments