3
GitHub - sylver-dev/sylver-cli
source link: https://github.com/sylver-dev/sylver-cli
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Language agnostic source code exploration and analysis.
Installation
Binary releases
curl -s https://sylver.dev/install.sh | bash
From source
Sylver is written in Rust, so you need to have the Rust toolchain installed. You can install it from rustup. To build sylver:
git clone https://github.com/sylver-dev/sylver-cli.git
cd sylver-cli
cargo build --release
Running your first analysis
The following command will automatically detect the language(s) of your project and install the corresponding rulesets from the registry:
sylver init
You can then run the analysis:
sylver check
The ruleset definitions available at https://github.com/sylver-dev/rulesets.
Writing your own rulesets
- Tutorial for a Python: blog.sylver.dev
- Tutorial for a Javascript: blog.sylver.dev
- Tutorial for a Go linter: blog.sylver.dev
- Tutorial for a JSON: blog.sylver.dev
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK