Skip to content

Commit 2460e1b

Browse files
authored
feat: support auto update using Github releases (#603)
1 parent b65d3b9 commit 2460e1b

29 files changed

+6181
-501
lines changed

LICENSE-THIRD-PARTY.txt

Lines changed: 1952 additions & 165 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ Avatar URL: 'https://app.box.com/api/avatar/large/77777'
169169
* [`box terms-of-service`](docs/terms-of-service.md) - List terms of services for your enterprise
170170
* [`box tokens`](docs/tokens.md) - Get a token. Returns the service account token by default
171171
* [`box trash`](docs/trash.md) - List all items in trash
172+
* [`box update`](docs/update.md) - Update the BoxCLI using GitHub
172173
* [`box users`](docs/users.md) - List all Box users
173174
* [`box version`](docs/version.md)
174175
* [`box watermarking`](docs/watermarking.md) - Apply a watermark on an item

docs/autocomplete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ EXAMPLES
3434
$ box autocomplete --refresh-cache
3535
```
3636

37-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.38/src/commands/autocomplete/index.js)_
37+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.39/src/commands/autocomplete/index.js)_

docs/help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ DESCRIPTION
2323
Display help for box.
2424
```
2525

26-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.34/src/commands/help.js)_
26+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.36/src/commands/help.js)_

docs/update.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
`box update`
2+
============
3+
4+
Update the BoxCLI using GitHub
5+
6+
* [`box update`](#box-update)
7+
8+
## `box update`
9+
10+
Update the BoxCLI using GitHub
11+
12+
```
13+
USAGE
14+
$ box update [-a] [-v <value> | -i] [--force]
15+
16+
FLAGS
17+
-a, --available Install a specific version.
18+
-i, --interactive Interactively select version to install. This is ignored if a channel is provided.
19+
-v, --version=<value> Install a specific version.
20+
--force Force a re-download of the requested version.
21+
22+
DESCRIPTION
23+
Update the BoxCLI using GitHub
24+
25+
EXAMPLES
26+
Update to a specific version:
27+
28+
$ box update --version 1.0.0
29+
30+
Interactively select version:
31+
32+
$ box update --interactive
33+
34+
See available versions:
35+
36+
$ box update --available
37+
```
38+
39+
_See code: [src/commands/update.js](https://github.com/box/boxcli/blob/v4.4.1/src/commands/update.js)_

docs/version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ FLAG DESCRIPTIONS
2323
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
2424
```
2525

26-
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.35/src/commands/version.js)_
26+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.36/src/commands/version.js)_

0 commit comments

Comments
 (0)