File tree Expand file tree Collapse file tree 2 files changed +3
-21
lines changed
cli/src/main/scala/com/codacy/analysis/cli/command Expand file tree Collapse file tree 2 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -252,24 +252,6 @@ codacy-analysis-cli analyze \
252252
253253> In alternative to setting ` --project-token ` you can define CODACY_PROJECT_TOKEN in the environment.
254254
255- #### API Token
256-
257- You can find the project token in:
258- * ` Account -> Access Management `
259-
260- The username and project name can be retrieved from the URL in Codacy.
261-
262- ``` sh
263- codacy-analysis-cli analyze \
264- --api-token < PROJECT-TOKEN> \
265- --username < USERNAME> \
266- --project < PROJECT-NAME> \
267- --tool < TOOL-SHORT-NAME> \
268- --directory < SOURCE-CODE-PATH>
269- ```
270-
271- > In alternative to setting ` --api-token ` you can define CODACY_API_TOKEN in the environment.
272-
273255## Build
274256
275257### Compile
Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ sealed trait CommandOptions {
106106
107107final case class APIOptions (@ ValueDescription (" The project token." )
108108 projectToken : Option [String ] = Option .empty,
109- @ ValueDescription (" The api token." )
109+ @ ValueDescription (" The api token." ) @ Hidden
110110 apiToken : Option [String ] = Option .empty,
111- @ ValueDescription (" The username." )
111+ @ ValueDescription (" The username." ) @ Hidden
112112 username : Option [UserName ] = Option .empty,
113- @ ValueDescription (" The project name." )
113+ @ ValueDescription (" The project name." ) @ Hidden
114114 project : Option [ProjectName ] = Option .empty,
115115 @ ValueDescription (" The codacy api base url." )
116116 codacyApiBaseUrl : Option [String ] = Some (" https://api.codacy.com" ))
You can’t perform that action at this time.
0 commit comments