openwhale 0.0.0-reserved.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/openwhale.js +23 -0
- package/package.json +20 -0
package/openwhale.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const pkg = require('./package.json');
|
|
4
|
+
const args = process.argv.slice(2);
|
|
5
|
+
|
|
6
|
+
if (args.includes('--version') || args.includes('-v')) {
|
|
7
|
+
console.log(pkg.version);
|
|
8
|
+
process.exit(0);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if (args.includes('--help') || args.includes('-h')) {
|
|
12
|
+
console.log('openwhale (placeholder)');
|
|
13
|
+
console.log('');
|
|
14
|
+
console.log('This npm package name is reserved.');
|
|
15
|
+
console.log('Official OpenWhale CLI will be published soon.');
|
|
16
|
+
console.log('');
|
|
17
|
+
console.log('Website: https://openwhale.ai');
|
|
18
|
+
process.exit(0);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
console.log('openwhale CLI is not published yet.');
|
|
22
|
+
console.log('This is a placeholder package to reserve the npm name.');
|
|
23
|
+
console.log('Follow updates: https://openwhale.ai');
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "openwhale",
|
|
3
|
+
"version": "0.0.0-reserved.1",
|
|
4
|
+
"description": "Reserved placeholder package for the upcoming OpenWhale CLI.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"bin": {
|
|
7
|
+
"openwhale": "openwhale.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"openwhale.js",
|
|
11
|
+
"package.json"
|
|
12
|
+
],
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=18"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public",
|
|
18
|
+
"tag": "reserved"
|
|
19
|
+
}
|
|
20
|
+
}
|