Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevedylandev/snippets-cli
https://github.com/stevedylandev/snippets-cli
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stevedylandev/snippets-cli
- Owner: stevedylandev
- License: mit
- Created: 2024-07-07T20:48:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-17T05:49:57.000Z (about 2 months ago)
- Last Synced: 2024-12-09T00:07:32.150Z (about 1 month ago)
- Language: Go
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Snippets.so CLI
![img](https://www.snippets.so/og.png)
✂︎ Clean and simple code sharing ✂︎
Quickly upload local code files and get links in return that you can view and share with others!
## Installation
### Mac OS
```
brew tap stevedylandev/snippets-cli
brew install snippets-cli
```### Go
```
git clone https://github.com/stevedylandev/snippets-cli && cd snippets-cli && go install .
```## Usage
Use the command `snip` followed by the name or path of the file you want to upload as a snippet.
```
snip hello.ts// https://snippets.so/snip/bafkreia2cv4bsi6xzc6den6b2zveffnmpbxlplwia2otsvp5fowrp7morm
```
After a file is upload you will get a link in return for the snippet on snippet.so.If you want to customize the name of the snippet, you can use the `--name` flag.
```
snip --name for_steve hello.ts
```## Questions
If you have any questions or requests feel free to [contact me!](mailto:[email protected])