@@ -41,8 +41,8 @@ program
41
41
` "username": "<Topcoder username>",\n` +
42
42
` "password": "<Topcoder password>",\n` +
43
43
` "m2m": {\n` +
44
- ` client_id: "<Client ID for M2M authentication>",\n` +
45
- ` client_secret: "<Client Secret for M2M authentication>"\n` +
44
+ ` " client_id" : "<Client ID for M2M authentication>",\n` +
45
+ ` " client_secret" : "<Client Secret for M2M authentication>"\n` +
46
46
` }\n` +
47
47
`}\n` +
48
48
`and execute command \`topcoder submit\` to submit the contents of ` +
@@ -72,8 +72,8 @@ program
72
72
'Challenge ID for submissions to be fetched'
73
73
)
74
74
. option (
75
- '-u , --userId <id>' ,
76
- 'Fetch only the submission of for a particular user id'
75
+ '-m , --memberId <id>' ,
76
+ 'Fetch only the submission of for a particular member id'
77
77
)
78
78
. option (
79
79
'-s, --submissionId <id>' ,
@@ -83,25 +83,25 @@ program
83
83
. option ( '--dev' , 'Points to Topcoder development environment' )
84
84
. on ( '--help' , ( ) => {
85
85
console . log (
86
- `\nUse CLI parameters or create a file .topcoderrc in JSON format with below details` +
86
+ `\nUse CLI parameters or create a file .topcoderrc in JSON format with below details\n ` +
87
87
`{\n` +
88
- ` "userId ": "<Topcoder memberId",\n` +
88
+ ` "memberId ": "<Topcoder memberId",\n` +
89
89
` "challengeId": "<Topcoder challengeId",\n` +
90
90
` "submissionId": "<Topcoder submissionId",\n` +
91
91
` "latest": true,\n` +
92
92
` "username": "<Topcoder username>",\n` +
93
93
` "password": "<Topcoder password>",\n` +
94
94
` "m2m": {\n` +
95
- ` client_id: "<Client ID for M2M authentication>",\n` +
96
- ` client_secret: "<Client Secret for M2M authentication>"\n` +
95
+ ` " client_id" : "<Client ID for M2M authentication>",\n` +
96
+ ` " client_secret" : "<Client Secret for M2M authentication>"\n` +
97
97
` }\n` +
98
98
`}\n` +
99
99
`and execute command \`topcoder fetch-submissions\` to fetch submissions ` +
100
100
`for a challenge and save them.\n` +
101
101
`You may specify the m2m config or the username and password config, ` +
102
102
`but not both.\n` +
103
103
`If the submissionId parameter is provided, you must not provide the ` +
104
- `userId or the latest parameters.\n` +
104
+ `memberId or the latest parameters.\n` +
105
105
`The challengeId parameter is always required.`
106
106
)
107
107
} )
@@ -140,8 +140,8 @@ program
140
140
` "username": "<Topcoder username>",\n` +
141
141
` "password": "<Topcoder password>",\n` +
142
142
` "m2m": {\n` +
143
- ` client_id: "<Client ID for M2M authentication>",\n` +
144
- ` client_secret: "<Client Secret for M2M authentication>"\n` +
143
+ ` " client_id" : "<Client ID for M2M authentication>",\n` +
144
+ ` " client_secret" : "<Client Secret for M2M authentication>"\n` +
145
145
` }\n` +
146
146
`}\n` +
147
147
`and execute command \`topcoder fetch-artifacts\` to fetch submissions for` +
0 commit comments