Skip to content

Commit b727930

Browse files
chore: release 4.0.0 (#562)
1 parent a666766 commit b727930

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7530
-5071
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [4.0.0](https://github.com/box/boxcli/compare/v3.16.0...v4.0.0) (2025-01-28)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* Drop support old Node version and integrate typescript SDK ([#548](https://github.com/box/boxcli/issues/548)) ([22179ec](https://github.com/box/boxcli/commit/22179ecfc68b8dd315339ac204a7274d712d5a8e))
11+
* Replace `@oclif/command` to `@oclif/core` library ([#553](https://github.com/box/boxcli/issues/553)) ([aed470b](https://github.com/box/boxcli/commit/aed470b22d28ed19040b4417e3143f3323b9a916))
12+
13+
### New Features and Enhancements
14+
15+
* Incognito browser option for box login ([#561](https://github.com/box/boxcli/issues/561)) ([a666766](https://github.com/box/boxcli/commit/a6667664d6b43fd80de9e57482b0f4138efcd6cf))
16+
17+
### Bug Fixes
18+
19+
* Respect using environment `defaultAsUserId` for CCG Auth and OAuth ([#554](https://github.com/box/boxcli/issues/554)) ([b3a691e](https://github.com/box/boxcli/commit/b3a691e8c886f7bb3a25ae8f7986f284a695f046))
20+
521
## [3.16.0](https://github.com/box/boxcli/compare/v3.15.0...v3.16.0) (2024-11-25)
622

723

docs/ai.md

Lines changed: 55 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -12,67 +12,69 @@ Sends an AI request to supported LLMs and returns an answer
1212

1313
```
1414
USAGE
15-
$ box ai:ask
16-
17-
OPTIONS
18-
-h, --help Show CLI help
19-
-q, --quiet Suppress any non-error output to stderr
20-
-s, --save Save report to default reports folder on disk
21-
-t, --token=token Provide a token to perform this call
22-
-v, --verbose Show verbose output, which can be helpful for debugging
23-
-y, --yes Automatically respond yes to all confirmation prompts
24-
--as-user=as-user Provide an ID for a user
25-
--bulk-file-path=bulk-file-path File path to bulk .csv or .json objects
26-
--csv Output formatted CSV
27-
--fields=fields Comma separated list of fields to show
28-
--items=items (required) The items for the AI request
29-
--json Output formatted JSON
30-
--no-color Turn off colors for logging
31-
--prompt=prompt (required) The prompt for the AI request
32-
--save-to-file-path=save-to-file-path Override default file path to save report
33-
34-
EXAMPLE
35-
box ai:ask --items=id=12345,type=file --prompt "What is the status of this document?"
15+
$ box ai:ask --prompt <value> --items <value>... [-t <value>] [--as-user <value>] [--no-color] [--json |
16+
--csv] [-s | --save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
17+
18+
FLAGS
19+
-h, --help Show CLI help
20+
-q, --quiet Suppress any non-error output to stderr
21+
-s, --save Save report to default reports folder on disk
22+
-t, --token=<value> Provide a token to perform this call
23+
-v, --verbose Show verbose output, which can be helpful for debugging
24+
-y, --yes Automatically respond yes to all confirmation prompts
25+
--as-user=<value> Provide an ID for a user
26+
--bulk-file-path=<value> File path to bulk .csv or .json objects
27+
--csv Output formatted CSV
28+
--fields=<value> Comma separated list of fields to show
29+
--items=<value>... (required) The items for the AI request
30+
--json Output formatted JSON
31+
--no-color Turn off colors for logging
32+
--prompt=<value> (required) The prompt for the AI request
33+
--save-to-file-path=<value> Override default file path to save report
34+
35+
DESCRIPTION
36+
Sends an AI request to supported LLMs and returns an answer
37+
38+
EXAMPLES
39+
$ box ai:ask --items=id=12345,type=file --prompt "What is the status of this document?"
3640
```
3741

38-
_See code: [src/commands/ai/ask.js](https://github.com/box/boxcli/blob/v3.16.0/src/commands/ai/ask.js)_
42+
_See code: [src/commands/ai/ask.js](https://github.com/box/boxcli/blob/v4.0.0/src/commands/ai/ask.js)_
3943

4044
## `box ai:text-gen`
4145

4246
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text.
4347

4448
```
4549
USAGE
46-
$ box ai:text-gen
47-
48-
OPTIONS
49-
-h, --help Show CLI help
50-
-q, --quiet Suppress any non-error output to stderr
51-
-s, --save Save report to default reports folder on disk
52-
-t, --token=token Provide a token to perform this call
53-
-v, --verbose Show verbose output, which can be helpful for debugging
54-
-y, --yes Automatically respond yes to all confirmation prompts
55-
--as-user=as-user Provide an ID for a user
56-
--bulk-file-path=bulk-file-path File path to bulk .csv or .json objects
57-
--csv Output formatted CSV
58-
--dialogue-history=dialogue-history The history of prompts and answers previously passed to the LLM.
59-
--fields=fields Comma separated list of fields to show
60-
61-
--items=items (required) The items to be processed by the LLM, often files. The array can
62-
include exactly one element.
63-
64-
--json Output formatted JSON
65-
66-
--no-color Turn off colors for logging
67-
68-
--prompt=prompt (required) The prompt for the AI request
69-
70-
--save-to-file-path=save-to-file-path Override default file path to save report
71-
72-
EXAMPLE
73-
box ai:text-gen --dialogue-history=prompt="What is the status of this document?",answer="It is in
74-
review",created-at="2024-07-09T11:29:46.835Z" --items=id=12345,type=file --prompt="What is the status of this
75-
document?"
50+
$ box ai:text-gen --items <value>... --prompt <value> [-t <value>] [--as-user <value>] [--no-color] [--json |
51+
--csv] [-s | --save-to-file-path <value>] [--fields <value>] [--bulk-file-path <value>] [-h] [-v] [-y] [-q]
52+
[--dialogue-history <value>...]
53+
54+
FLAGS
55+
-h, --help Show CLI help
56+
-q, --quiet Suppress any non-error output to stderr
57+
-s, --save Save report to default reports folder on disk
58+
-t, --token=<value> Provide a token to perform this call
59+
-v, --verbose Show verbose output, which can be helpful for debugging
60+
-y, --yes Automatically respond yes to all confirmation prompts
61+
--as-user=<value> Provide an ID for a user
62+
--bulk-file-path=<value> File path to bulk .csv or .json objects
63+
--csv Output formatted CSV
64+
--dialogue-history=<value>... The history of prompts and answers previously passed to the LLM.
65+
--fields=<value> Comma separated list of fields to show
66+
--items=<value>... (required) The items to be processed by the LLM, often files. The array can include
67+
exactly one element.
68+
--json Output formatted JSON
69+
--no-color Turn off colors for logging
70+
--prompt=<value> (required) The prompt for the AI request
71+
--save-to-file-path=<value> Override default file path to save report
72+
73+
DESCRIPTION
74+
Sends an AI request to supported LLMs and returns an answer specifically focused on the creation of new text.
75+
76+
EXAMPLES
77+
$ box ai:text-gen --dialogue-history=prompt="What is the status of this document?",answer="It is in review",created-at="2024-07-09T11:29:46.835Z" --items=id=12345,type=file --prompt="What is the status of this document?"
7678
```
7779

78-
_See code: [src/commands/ai/text-gen.js](https://github.com/box/boxcli/blob/v3.16.0/src/commands/ai/text-gen.js)_
80+
_See code: [src/commands/ai/text-gen.js](https://github.com/box/boxcli/blob/v4.0.0/src/commands/ai/text-gen.js)_

docs/autocomplete.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,31 @@ Display autocomplete installation instructions
77

88
## `box autocomplete [SHELL]`
99

10-
display autocomplete installation instructions
10+
Display autocomplete installation instructions.
1111

1212
```
1313
USAGE
14-
$ box autocomplete [SHELL]
14+
$ box autocomplete [SHELL] [-r]
1515
1616
ARGUMENTS
17-
SHELL shell type
17+
SHELL (zsh|bash|powershell) Shell type
1818
19-
OPTIONS
19+
FLAGS
2020
-r, --refresh-cache Refresh cache (ignores displaying instructions)
2121
22+
DESCRIPTION
23+
Display autocomplete installation instructions.
24+
2225
EXAMPLES
2326
$ box autocomplete
27+
2428
$ box autocomplete bash
29+
2530
$ box autocomplete zsh
31+
32+
$ box autocomplete powershell
33+
2634
$ box autocomplete --refresh-cache
2735
```
2836

29-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v0.1.0/src/commands/autocomplete/index.ts)_
37+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.18/src/commands/autocomplete/index.js)_

0 commit comments

Comments
 (0)