File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
docs/Bulk actions/folders Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1- Name , Description , ParentId
2- mass-creation , a description , 0
3- addl-testing , another , 0
1+ Name , ParentId
2+ mass-creation , 0
3+ addl-testing , 0
44service-folder ,, 0
5- basic-create ,, 0
5+ basic-create ,, 0
Original file line number Diff line number Diff line change 22
33const BoxCommand = require ( '../../box-command' ) ;
44const { Flags, Args } = require ( '@oclif/core' ) ;
5- const utils = require ( '../../util' ) ;
65
76class FoldersCreateCommand extends BoxCommand {
87 async run ( ) {
@@ -32,7 +31,6 @@ FoldersCreateCommand._endpoint = 'post_folders';
3231
3332FoldersCreateCommand . flags = {
3433 ...BoxCommand . flags ,
35- description : Flags . string ( { description : 'A description for folder <DESCRIPTION>' , parse : utils . unescapeSlashes } ) ,
3634 'id-only' : Flags . boolean ( {
3735 description : 'Return only an ID to output from this command'
3836 } )
Original file line number Diff line number Diff line change @@ -1135,7 +1135,6 @@ describe('Folders', () => {
11351135 describe ( 'folders:create' , ( ) => {
11361136 let parentFolderId = '0' ,
11371137 name = 'New Folder' ,
1138- description = 'This is my new folder' ,
11391138 fixture = getFixture ( 'folders/post_folders' ) ,
11401139 yamlOutput = getFixture ( 'output/folders_create_yaml.txt' ) ;
11411140
@@ -1200,7 +1199,6 @@ describe('Folders', () => {
12001199 . nock ( TEST_API_ROOT , api => api
12011200 . post ( '/2.0/folders' , {
12021201 ...expectedBody ,
1203- description,
12041202 } )
12051203 . reply ( 409 , {
12061204 type : 'error' ,
@@ -1226,7 +1224,6 @@ describe('Folders', () => {
12261224 'folders:create' ,
12271225 parentFolderId ,
12281226 name ,
1229- `--description=${ description } ` ,
12301227 '--json' ,
12311228 '--token=test'
12321229 ] )
You can’t perform that action at this time.
0 commit comments