Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs lts-fermium
yarn 1.22.10
yarn 1.22.19
42 changes: 14 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $ npm install -g @mux/cli
$ mux COMMAND
running command...
$ mux (-v|--version|version)
@mux/cli/0.8.0 linux-x64 node-v14.18.3
@mux/cli/0.8.0 darwin-arm64 node-v18.11.0
$ mux --help [COMMAND]
USAGE
$ mux COMMAND
Expand Down Expand Up @@ -49,7 +49,6 @@ USAGE
* [`mux plugins:update`](#mux-pluginsupdate)
* [`mux sign PLAYBACK-ID`](#mux-sign-playback-id)
* [`mux spaces:sign SPACE-ID`](#mux-spacessign-space-id)
* [`mux update [CHANNEL]`](#mux-update-channel)

## `mux assets:create INPUT`

Expand Down Expand Up @@ -108,7 +107,7 @@ EXAMPLES
$ mux autocomplete --refresh-cache
```

_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.1.1/src/commands/autocomplete/index.ts)_
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v1.3.6/src/commands/autocomplete/index.ts)_

## `mux commands`

Expand All @@ -130,26 +129,27 @@ OPTIONS
--no-truncate do not truncate output to fit screen
--output=csv|json|yaml output in a more machine friendly format
--sort=sort property to sort by (prepend '-' for descending)
--tree show tree of commands
```

_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v2.0.2/src/commands/commands.ts)_
_See code: [@oclif/plugin-commands](https://github.com/oclif/plugin-commands/blob/v2.2.1/src/commands/commands.ts)_

## `mux help [COMMAND]`

display help for mux
Display help for mux.

```
USAGE
$ mux help [COMMAND]

ARGUMENTS
COMMAND command to show help for
COMMAND Command to show help for.

OPTIONS
--all see all commands in CLI
-n, --nested-commands Include all nested commands in the output.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.18/src/commands/help.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.19/src/commands/help.ts)_

## `mux init [ENVFILE]`

Expand Down Expand Up @@ -235,7 +235,7 @@ EXAMPLE
$ mux plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/index.ts)_

## `mux plugins:inspect PLUGIN...`

Expand All @@ -256,7 +256,7 @@ EXAMPLE
$ mux plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/inspect.ts)_

## `mux plugins:install PLUGIN...`

Expand Down Expand Up @@ -292,7 +292,7 @@ EXAMPLES
$ mux plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/install.ts)_

## `mux plugins:link PLUGIN`

Expand All @@ -319,7 +319,7 @@ EXAMPLE
$ mux plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/link.ts)_

## `mux plugins:uninstall PLUGIN...`

Expand All @@ -341,7 +341,7 @@ ALIASES
$ mux plugins:remove
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/uninstall.ts)_

## `mux plugins:update`

Expand All @@ -356,7 +356,7 @@ OPTIONS
-v, --verbose
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.0.12/src/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.1.7/src/commands/plugins/update.ts)_

## `mux sign PLAYBACK-ID`

Expand Down Expand Up @@ -403,18 +403,4 @@ OPTIONS
```

_See code: [src/commands/spaces/sign.ts](https://github.com/muxinc/cli/blob/v0.8.0/src/commands/spaces/sign.ts)_

## `mux update [CHANNEL]`

update the mux CLI

```
USAGE
$ mux update [CHANNEL]

OPTIONS
--from-local interactively choose an already installed version
```

_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v2.1.5/src/commands/update.ts)_
<!-- commandsstop -->
29 changes: 24 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"contributors": [
"Matt McClure <[email protected]>",
"Ed Ropple <[email protected]>"
"Ed Ropple <[email protected]>",
"Jared Smith <[email protected]>"
],
"bin": {
"mux": "./bin/run"
Expand All @@ -24,7 +25,6 @@
"@oclif/plugin-help": "^5.1.10",
"@oclif/plugin-not-found": "^2.2.4",
"@oclif/plugin-plugins": "^2.0.12",
"@oclif/plugin-update": "^2.1.5",
"@oclif/plugin-warn-if-update-available": "^2.0.4",
"chalk": "4.1.2",
"clipboardy": "^2.3.0",
Expand All @@ -33,6 +33,7 @@
"inquirer": "^8.2.0",
"jsonwebtoken": "^8.5.1",
"listr": "^0.14.3",
"pkg": "^5.8.0",
"request": "^2.88.2",
"runtypes": "^6.5.0",
"rxjs": "^7.5.2"
Expand All @@ -53,7 +54,7 @@
"globby": "11.0.4",
"mocha": "6.2.3",
"nyc": "^15.1.0",
"oclif": "^2.4.0",
"oclif": "^3.3.0",
"ts-node": "^10.4.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
Expand Down Expand Up @@ -83,7 +84,6 @@
"@oclif/plugin-not-found",
"@oclif/plugin-autocomplete",
"@oclif/plugin-commands",
"@oclif/plugin-update",
"@oclif/plugin-warn-if-update-available",
"@oclif/plugin-plugins"
],
Expand All @@ -101,8 +101,10 @@
},
"repository": "muxinc/cli",
"scripts": {
"clean": "rm -rf lib && rm -rf tsconfig.tsbuildinfo",
"clean": "rm -rf dist && rm -rf lib && rm -rf tsconfig.tsbuildinfo",
"build": "tsc -b",
"pkg": "rm -rf dist/* && yarn run -s build && pkg . --compress GZip --output dist/mux-cli",
"installer": "oclif pack macos",
"postpack": "rm -f oclif.manifest.json",
"posttest": "tslint -p test -t stylish",
"prepack": "yarn run -s clean && yarn run -s build && oclif-dev manifest && oclif-dev readme",
Expand All @@ -112,5 +114,22 @@
"types": "lib/index.d.ts",
"volta": {
"node": "14.16.1"
},
"pkg": {
"scripts": [
"lib/*.js",
"lib/command-bases/*.js",
"lib/commands/*.js",
"lib/commands/**/*.js"
],
"assets": "package.json",
"targets": [
"node18-linux-x64",
"node18-linux-arm64",
"node18-macos-x64",
"node18-macos-arm64",
"node18-windows-x64"
],
"outputPath": "dist"
}
}
2 changes: 1 addition & 1 deletion src/commands/spaces/sign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class SignSpace extends MuxBase {
await clipboard.write(jwt);
this.log(`👉 Copied your JWT to your system clipboard`);
} catch {
this.error('Unable to copy JWT automatically');
this.warn('Unable to copy JWT automatically');
}
}
}
Expand Down
Loading