@pd4castr/cli 1.8.0 → 1.9.0
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/LICENSE.md +21 -0
- package/README.md +25 -13
- package/dist/index.js +5 -3
- package/docs/assets/logo.png +0 -0
- package/package.json +5 -3
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Endgame Economics Pty Ltd t/as Endgame Analytics
|
|
4
|
+
<contact@endgameanalytics.com.au> https://endgameanalytics.com.au
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
7
|
+
this software and associated documentation files (the “Software”), to deal in
|
|
8
|
+
the Software without restriction, including without limitation the rights to
|
|
9
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
10
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
11
|
+
subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
18
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
19
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
20
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
21
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,38 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="./docs/assets/logo.png" alt="pdView logo" width="92">
|
|
2
3
|
|
|
3
|
-
CLI
|
|
4
|
-
[pd4castr](https://pdview.com.au/services/pd4castr/) models.
|
|
4
|
+
<h1>pd4castr CLI</h1>
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
<p>
|
|
7
|
+
CLI tool for creating, testing, and publishing
|
|
8
|
+
<a href="https://pdview.com.au/services/pd4castr/">pd4castr</a> models.
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p>
|
|
12
|
+
<a href="#installation">Installation</a> •
|
|
13
|
+
<a href="#quick-start">Quick Start</a> •
|
|
14
|
+
<a href="https://github.com/pipelabs/pd4castr-model-examples/" target="_blank">Full Documentation</a>
|
|
15
|
+
</p>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
> Requires Node.js >= 20.
|
|
7
21
|
|
|
8
22
|
```bash
|
|
9
23
|
npm install -g @pd4castr/cli
|
|
10
24
|
```
|
|
11
25
|
|
|
12
|
-
|
|
13
|
-
[full documentation here](https://github.com/pipelabs/pd4castr-model-examples/)
|
|
14
|
-
|
|
15
|
-
## Quick Usage
|
|
26
|
+
## Quick Start
|
|
16
27
|
|
|
17
|
-
Authenticate with the pd4castr API
|
|
28
|
+
Authenticate with the pd4castr API:
|
|
18
29
|
|
|
19
30
|
```sh
|
|
20
31
|
pd4castr login
|
|
21
32
|
```
|
|
22
33
|
|
|
23
|
-
Run model input data fetchers and generate test input data
|
|
34
|
+
Run model input data fetchers and generate test input data:
|
|
24
35
|
|
|
25
36
|
```sh
|
|
26
37
|
pd4castr fetch
|
|
27
38
|
```
|
|
28
39
|
|
|
29
|
-
Run your model locally and verify it reads inputs & uploads output as expected
|
|
40
|
+
Run your model locally and verify it reads inputs & uploads output as expected:
|
|
30
41
|
|
|
31
42
|
```sh
|
|
32
43
|
pd4castr test
|
|
33
44
|
```
|
|
34
45
|
|
|
35
|
-
Publish your model to the pd4castr platform
|
|
46
|
+
Publish your model to the pd4castr platform:
|
|
36
47
|
|
|
37
48
|
```sh
|
|
38
49
|
pd4castr publish
|
|
@@ -40,4 +51,5 @@ pd4castr publish
|
|
|
40
51
|
|
|
41
52
|
## Contributing
|
|
42
53
|
|
|
43
|
-
[
|
|
54
|
+
See [CONTRIBUTING.md](./CONTRIBUTING.md) for development setup, testing, and
|
|
55
|
+
contribution guidelines.
|
package/dist/index.js
CHANGED
|
@@ -1692,9 +1692,9 @@ import { Command } from "commander";
|
|
|
1692
1692
|
// package.json
|
|
1693
1693
|
var package_default = {
|
|
1694
1694
|
name: "@pd4castr/cli",
|
|
1695
|
-
version: "1.
|
|
1695
|
+
version: "1.9.0",
|
|
1696
1696
|
description: "CLI tool for creating, testing, and publishing pd4castr models",
|
|
1697
|
-
license: "
|
|
1697
|
+
license: "MIT",
|
|
1698
1698
|
main: "dist/index.js",
|
|
1699
1699
|
private: false,
|
|
1700
1700
|
type: "module",
|
|
@@ -1702,7 +1702,9 @@ var package_default = {
|
|
|
1702
1702
|
pd4castr: "dist/index.js"
|
|
1703
1703
|
},
|
|
1704
1704
|
files: [
|
|
1705
|
-
"dist/**/*"
|
|
1705
|
+
"dist/**/*",
|
|
1706
|
+
"LICENSE.md",
|
|
1707
|
+
"docs/assets/logo.png"
|
|
1706
1708
|
],
|
|
1707
1709
|
engines: {
|
|
1708
1710
|
node: ">=20.0.0"
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pd4castr/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "CLI tool for creating, testing, and publishing pd4castr models",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"private": false,
|
|
8
8
|
"type": "module",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"pd4castr": "dist/index.js"
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
|
-
"dist/**/*"
|
|
13
|
+
"dist/**/*",
|
|
14
|
+
"LICENSE.md",
|
|
15
|
+
"docs/assets/logo.png"
|
|
14
16
|
],
|
|
15
17
|
"engines": {
|
|
16
18
|
"node": ">=20.0.0"
|