@constructor-io/constructorio-connect-cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -41
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ EXAMPLES
|
|
|
53
53
|
$ constructorio-connect-cli deploy production
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
_See code: [src/commands/deploy.ts](https://github.com/Constructor-io/constructorio-connect-cli/blob/v1.0.
|
|
56
|
+
_See code: [src/commands/deploy.ts](https://github.com/Constructor-io/constructorio-connect-cli/blob/v1.0.1/src/commands/deploy.ts)_
|
|
57
57
|
|
|
58
58
|
## `constructorio-connect-cli execute`
|
|
59
59
|
|
|
@@ -90,7 +90,7 @@ EXAMPLES
|
|
|
90
90
|
$ constructorio-connect-cli execute --template-path=mapping/mapping.jsonata
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
_See code: [src/commands/execute.ts](https://github.com/Constructor-io/constructorio-connect-cli/blob/v1.0.
|
|
93
|
+
_See code: [src/commands/execute.ts](https://github.com/Constructor-io/constructorio-connect-cli/blob/v1.0.1/src/commands/execute.ts)_
|
|
94
94
|
|
|
95
95
|
## `constructorio-connect-cli help [COMMAND]`
|
|
96
96
|
|
|
@@ -132,7 +132,7 @@ EXAMPLES
|
|
|
132
132
|
$ constructorio-connect-cli init new-repo-name
|
|
133
133
|
```
|
|
134
134
|
|
|
135
|
-
_See code: [src/commands/init.ts](https://github.com/Constructor-io/constructorio-connect-cli/blob/v1.0.
|
|
135
|
+
_See code: [src/commands/init.ts](https://github.com/Constructor-io/constructorio-connect-cli/blob/v1.0.1/src/commands/init.ts)_
|
|
136
136
|
<!-- commandsstop -->
|
|
137
137
|
|
|
138
138
|
## Development
|
|
@@ -144,41 +144,3 @@ npm run lint # run lint on source code and tests
|
|
|
144
144
|
npm run test # run tests
|
|
145
145
|
npm run test:cov # run tests with coverage report
|
|
146
146
|
```
|
|
147
|
-
|
|
148
|
-
### Running locally
|
|
149
|
-
|
|
150
|
-
First, install dependencies:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
npm ci
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
Then, set up your local environment and fill `.env` with your credentials:
|
|
157
|
-
|
|
158
|
-
```bash
|
|
159
|
-
cp .env.example .env
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
All done! You can now run the package locally:
|
|
163
|
-
|
|
164
|
-
```bash
|
|
165
|
-
npm run dev [command] -- [arguments and flags]
|
|
166
|
-
# or, you can just directly access the built CLI:
|
|
167
|
-
bin/dev.js [command] [arguments and flags]
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
You can also test inside other projects with:
|
|
171
|
-
|
|
172
|
-
```bash
|
|
173
|
-
npm i full/path/to/this/repo
|
|
174
|
-
# or even install it globally
|
|
175
|
-
|
|
176
|
-
npm i -g full/path/to/this/repo
|
|
177
|
-
constructorio-connect-cli --help
|
|
178
|
-
```
|
|
179
|
-
|
|
180
|
-
Finally, you can switch the host you're sending requests to if you need. For example, you can point to a local host if you have a local instance running.
|
|
181
|
-
|
|
182
|
-
```
|
|
183
|
-
HOST=http://localhost:3000 constructorio-connect-cli deploy development
|
|
184
|
-
```
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED