Skip to content

Commit 0ddc1f6

Browse files
chore: fix gitopia action and modify README (#81)
* chore: fix gitopia action and modify README Signed-off-by: Siddhant N Trivedi <siddhant@deepsource.io> * chore: add more info Signed-off-by: Siddhant N Trivedi <siddhant@deepsource.io> * chore: rephrase Signed-off-by: Siddhant N Trivedi <siddhant@deepsource.io> * fix: fix discord server statement Signed-off-by: Siddhant N Trivedi <siddhant@deepsource.io> * Update README.md Co-authored-by: Sourya Vatsyayan <sourya@deepsource.io>
1 parent eee6660 commit 0ddc1f6

2 files changed

Lines changed: 49 additions & 10 deletions

File tree

.github/workflows/gitopia-mirror.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
node-version: 12
1818
registry-url: https://registry.npmjs.org/
1919
- name: Gitopia Mirror Action
20-
uses: gitopia/gitopia-mirror-action@v0.1.2
20+
uses: gitopia/gitopia-mirror-action@v0.3.0
2121
with:
2222
gitopiaWallet: "${{ secrets.ARWEAVE_WALLET }}"
2323
branch: "master"

README.md

Lines changed: 48 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,67 @@
2020

2121
Command line interface to DeepSource
2222

23-
[![DeepSource](https://deepsource.io/gh/deepsourcelabs/cli.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/deepsourcelabs/cli/?ref=repository-badge)[![CircleCI](https://circleci.com/gh/deepsourcelabs/cli.svg?style=svg)](https://circleci.com/gh/deepsourcelabs/cli)
23+
![GitHub release (latest by date)](https://img.shields.io/github/v/release/deepsourcelabs/cli)
24+
[![DeepSource](https://deepsource.io/gh/deepsourcelabs/cli.svg/?label=active+issues&show_trend=true)](https://deepsource.io/gh/deepsourcelabs/cli/?ref=repository-badge)
2425
[![Gitopia](https://img.shields.io/endpoint?style=&url=https://gitopia.org/mirror-badge.json)](https://gitopia.org/#/WU8MwK_wNu7had5xKwuD2dilKn9gzCFH6carv-QmIKs/deepsource-cli)
2526

26-
### Usage
27+
## Installation
2728

29+
### macOS
30+
31+
DeepSource CLI is available on macOS via [Homebrew](https://brew.sh/):
32+
33+
```sh
34+
brew install deepsourcelabs/cli/deepsource
35+
```
36+
### Binary Installation
37+
38+
```sh
39+
curl https://deepsource.io/cli | sh
2840
```
29-
DeepSource Command Line Interface v0.x.x
41+
This script will detect the operating system and architecture and puts deepsource binary in `./bin/deepsource`.
42+
43+
## Configuring DSN
44+
45+
In order to report test-coverage to DeepSource using the `report` command, an environment variable named as `DEEPSOURCE_DSN` has to
46+
be set. It's value will be available under 'Settings' tab of the repository page.
47+
48+
## Usage
3049

50+
The CLI provides access to a wide range of commands. Here is a list of the
51+
commands along with their brief description.
52+
53+
```
3154
Usage:
3255
deepsource <command> [<arguments>]
3356
3457
Available commands are:
35-
report Report an artifact to an analyzer
58+
report Report an artifact to an analyzer
59+
config Generate and Validate DeepSource config
60+
help Help about any command
61+
issues Show the list of issues in a file in a repository
62+
repo Operations related to the project repository
63+
report Report artifacts to DeepSource
64+
version Get the version of the DeepSource CLI
3665
3766
Help:
38-
Use 'deepsource <command> --help' for more information about the command.
67+
Use 'deepsource <command> --help/-h' for more information about the command.
3968
```
4069

41-
### Documentation
70+
## Documentation
71+
72+
For complete documentation, refer to the [CLI Documentation](https://deepsource.io/docs/cli/usage)
73+
74+
## Feedback/Support
75+
76+
Want to share any feedback or need any help regarding the CLI? Feel free to
77+
reach out to us at [support@deepsource.io](mailto:support@deepsource.io) or at
78+
our [Discord server](https://discord.gg/3aNjyD9k2q).
79+
80+
## Community
4281

43-
[https://deepsource.io/docs/config/cli](https://deepsource.io/docs/config/cli.html)
82+
Interested in DeepSource and want to chat with the community? Feel free to join our [Discord server](http://deepsource.io/discord).
4483

45-
### Support
84+
## License
4685

47-
[support@deepsource.io](mailto:support@deepsource.io)
86+
Licensed under the [BSD 2-Clause "Simplified" License](https://github.com/deepsourcelabs/cli/blob/master/LICENSE).

0 commit comments

Comments
 (0)