Skip to content

Commit f8d2d00

Browse files
committed
initial commit
0 parents  commit f8d2d00

File tree

28 files changed

+842
-0
lines changed

28 files changed

+842
-0
lines changed

.circleci/config.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
version: 2.1
3+
4+
orbs:
5+
release-management: salesforce/npm-release-management@4
6+
7+
workflows:
8+
version: 2
9+
test-and-release:
10+
jobs:
11+
- release-management/test-package:
12+
matrix:
13+
parameters:
14+
os:
15+
- linux
16+
- windows
17+
node_version:
18+
- latest
19+
- lts
20+
- maintenance
21+
dependabot-automerge:
22+
triggers:
23+
- schedule:
24+
cron: '0 2,5,8,11 * * *'
25+
filters:
26+
branches:
27+
only:
28+
- main
29+
jobs:
30+
- release-management/dependabot-automerge

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.md]
11+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist

.eslintrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": [
3+
"oclif",
4+
"oclif-typescript"
5+
]
6+
}

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
versioning-strategy: increase
5+
directory: "/"
6+
schedule:
7+
interval: "monthly"
8+
labels:
9+
- "dependencies"
10+
open-pull-requests-limit: 100
11+
pull-request-branch-name:
12+
separator: "-"
13+
ignore:
14+
- dependency-name: "fs-extra"
15+
- dependency-name: "*"
16+
update-types: ["version-update:semver-major"]

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*-debug.log
2+
*-error.log
3+
/.nyc_output
4+
/dist
5+
/lib
6+
/package-lock.json
7+
/tmp
8+
/yarn.lock
9+
node_modules
10+
oclif.manifest.json

.mocharc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"require": [
3+
"test/helpers/init.js",
4+
"ts-node/register"
5+
],
6+
"watch-extensions": [
7+
"ts"
8+
],
9+
"recursive": true,
10+
"reporter": "spec",
11+
"timeout": 60000
12+
}

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16.6

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Salesforce
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 261 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,261 @@
1+
oclif-hello-world
2+
=================
3+
4+
oclif example Hello World CLI
5+
6+
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
7+
[![Version](https://img.shields.io/npm/v/oclif-hello-world.svg)](https://npmjs.org/package/oclif-hello-world)
8+
[![CircleCI](https://circleci.com/gh/oclif/hello-world/tree/main.svg?style=shield)](https://circleci.com/gh/oclif/hello-world/tree/main)
9+
[![Downloads/week](https://img.shields.io/npm/dw/oclif-hello-world.svg)](https://npmjs.org/package/oclif-hello-world)
10+
[![License](https://img.shields.io/npm/l/oclif-hello-world.svg)](https://github.com/oclif/hello-world/blob/main/package.json)
11+
12+
<!-- toc -->
13+
* [Usage](#usage)
14+
* [Commands](#commands)
15+
<!-- tocstop -->
16+
# Usage
17+
<!-- usage -->
18+
```sh-session
19+
$ npm install -g oclif-hello-world
20+
$ oex COMMAND
21+
running command...
22+
$ oex (--version)
23+
oclif-hello-world/0.0.0 darwin-x64 node-v16.13.1
24+
$ oex --help [COMMAND]
25+
USAGE
26+
$ oex COMMAND
27+
...
28+
```
29+
<!-- usagestop -->
30+
# Commands
31+
<!-- commands -->
32+
* [`oex hello PERSON`](#oex-hello-person)
33+
* [`oex hello world`](#oex-hello-world)
34+
* [`oex help [COMMAND]`](#oex-help-command)
35+
* [`oex plugins`](#oex-plugins)
36+
* [`oex plugins:inspect PLUGIN...`](#oex-pluginsinspect-plugin)
37+
* [`oex plugins:install PLUGIN...`](#oex-pluginsinstall-plugin)
38+
* [`oex plugins:link PLUGIN`](#oex-pluginslink-plugin)
39+
* [`oex plugins:uninstall PLUGIN...`](#oex-pluginsuninstall-plugin)
40+
* [`oex plugins update`](#oex-plugins-update)
41+
42+
## `oex hello PERSON`
43+
44+
Say hello
45+
46+
```
47+
USAGE
48+
$ oex hello [PERSON] -f <value>
49+
50+
ARGUMENTS
51+
PERSON Person to say hello to
52+
53+
FLAGS
54+
-f, --from=<value> (required) Whom is saying hello
55+
56+
DESCRIPTION
57+
Say hello
58+
59+
EXAMPLES
60+
$ oex hello friend --from oclif
61+
hello friend from oclif! (./src/commands/hello/index.ts)
62+
```
63+
64+
_See code: [dist/commands/hello/index.ts](https://github.com/oclif/hello-world/blob/v0.0.0/dist/commands/hello/index.ts)_
65+
66+
## `oex hello world`
67+
68+
Say hello world
69+
70+
```
71+
USAGE
72+
$ oex hello world
73+
74+
DESCRIPTION
75+
Say hello world
76+
77+
EXAMPLES
78+
$ oex hello world
79+
hello world! (./src/commands/hello/world.ts)
80+
```
81+
82+
## `oex help [COMMAND]`
83+
84+
Display help for oex.
85+
86+
```
87+
USAGE
88+
$ oex help [COMMAND] [-n]
89+
90+
ARGUMENTS
91+
COMMAND Command to show help for.
92+
93+
FLAGS
94+
-n, --nested-commands Include all nested commands in the output.
95+
96+
DESCRIPTION
97+
Display help for oex.
98+
```
99+
100+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.10/src/commands/help.ts)_
101+
102+
## `oex plugins`
103+
104+
List installed plugins.
105+
106+
```
107+
USAGE
108+
$ oex plugins [--core]
109+
110+
FLAGS
111+
--core Show core plugins.
112+
113+
DESCRIPTION
114+
List installed plugins.
115+
116+
EXAMPLES
117+
$ oex plugins
118+
```
119+
120+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.11/src/commands/plugins/index.ts)_
121+
122+
## `oex plugins:inspect PLUGIN...`
123+
124+
Displays installation properties of a plugin.
125+
126+
```
127+
USAGE
128+
$ oex plugins:inspect PLUGIN...
129+
130+
ARGUMENTS
131+
PLUGIN [default: .] Plugin to inspect.
132+
133+
FLAGS
134+
-h, --help Show CLI help.
135+
-v, --verbose
136+
137+
DESCRIPTION
138+
Displays installation properties of a plugin.
139+
140+
EXAMPLES
141+
$ oex plugins:inspect myplugin
142+
```
143+
144+
## `oex plugins:install PLUGIN...`
145+
146+
Installs a plugin into the CLI.
147+
148+
```
149+
USAGE
150+
$ oex plugins:install PLUGIN...
151+
152+
ARGUMENTS
153+
PLUGIN Plugin to install.
154+
155+
FLAGS
156+
-f, --force Run yarn install with force flag.
157+
-h, --help Show CLI help.
158+
-v, --verbose
159+
160+
DESCRIPTION
161+
Installs a plugin into the CLI.
162+
163+
Can be installed from npm or a git url.
164+
165+
Installation of a user-installed plugin will override a core plugin.
166+
167+
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
168+
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
169+
the CLI without the need to patch and update the whole CLI.
170+
171+
ALIASES
172+
$ oex plugins add
173+
174+
EXAMPLES
175+
$ oex plugins:install myplugin
176+
177+
$ oex plugins:install https://github.com/someuser/someplugin
178+
179+
$ oex plugins:install someuser/someplugin
180+
```
181+
182+
## `oex plugins:link PLUGIN`
183+
184+
Links a plugin into the CLI for development.
185+
186+
```
187+
USAGE
188+
$ oex plugins:link PLUGIN
189+
190+
ARGUMENTS
191+
PATH [default: .] path to plugin
192+
193+
FLAGS
194+
-h, --help Show CLI help.
195+
-v, --verbose
196+
197+
DESCRIPTION
198+
Links a plugin into the CLI for development.
199+
200+
Installation of a linked plugin will override a user-installed or core plugin.
201+
202+
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
203+
command will override the user-installed or core plugin implementation. This is useful for development work.
204+
205+
EXAMPLES
206+
$ oex plugins:link myplugin
207+
```
208+
209+
## `oex plugins:uninstall PLUGIN...`
210+
211+
Removes a plugin from the CLI.
212+
213+
```
214+
USAGE
215+
$ oex plugins:uninstall PLUGIN...
216+
217+
ARGUMENTS
218+
PLUGIN plugin to uninstall
219+
220+
FLAGS
221+
-h, --help Show CLI help.
222+
-v, --verbose
223+
224+
DESCRIPTION
225+
Removes a plugin from the CLI.
226+
227+
ALIASES
228+
$ oex plugins unlink
229+
$ oex plugins remove
230+
```
231+
232+
## `oex plugins update`
233+
234+
Update installed plugins.
235+
236+
```
237+
USAGE
238+
$ oex plugins update [-h] [-v]
239+
240+
FLAGS
241+
-h, --help Show CLI help.
242+
-v, --verbose
243+
244+
DESCRIPTION
245+
Update installed plugins.
246+
```
247+
<!-- commandsstop -->
248+
249+
## CSLI
250+
251+
### `wasmd`
252+
253+
If you wish, you may download the `wasmd` binary using an Intel chip on a modern Macbook Pro.
254+
255+
The location is IPFS hash:
256+
257+
bafybeiaqdtgvv5gqn7wymurtfmaotokn4de6dtnyooa4fu7hxnvdw3au4y
258+
259+
The [Fleek](https://fleek.co) gateway link to download it:
260+
261+
https://storageapi.fleek.co/0f8bb5c1-0de9-47f6-ac16-ffbd010540c0-bucket/wasmd

0 commit comments

Comments
 (0)