Learn how to use the DeepSource CLI commands and features.
deepsource <command> --help
to read about a specific subcommand or concept right from the CLI.report
--key
: Shortcode of the language (example: python
, go
, javascript
, ruby
, java
, scala
, php
, csharp
, cxx
, rust
)--analyzer
: Name of the analyzer (example: test-coverage
)--value
: Value of the artifact--value-file
: Path to the artifact value fileconfig
generate
: Generate starter configuration file, .deepsource.toml
, for a repository
validate
: Validate the .deepsource.toml
config file
auth
login
: Authenticate with your DeepSource account or create a new one
logout
: Log out of your active DeepSource account
refresh
: Refresh the stored authentication credentials
status
: View the authentication status
repo
status
: Show the activation status of a repository on DeepSource
view
: Open the DeepSource dashboard of a repository
--repo/-r
: URL of the repository. If not specified, the repo
command respects the repository corresponding to the current working directory.issues
list <file_path>
: Show the list of issues in a file in a repository.
--repo/-r
: URL of the repository to fetch issues from--limit/-l
: Number of issues to display at once. By default, the limit is set to 30.version
help
completion
deepsource completion <shell>
and add it to the corresponding shell config to get autocompletion for various deepsource
CLI commands.
shell
: The shell for which autocompletion commands will be generated. Shells that are currently supported are: bash
, fish
, powershell
and zsh
.