https://github.com/igor-starostenko/sabre
Slice your files like a champ with **sabre**
https://github.com/igor-starostenko/sabre
data golang package
Last synced: about 1 year ago
JSON representation
Slice your files like a champ with **sabre**
- Host: GitHub
- URL: https://github.com/igor-starostenko/sabre
- Owner: igor-starostenko
- License: mit
- Created: 2020-07-06T06:07:12.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T23:37:32.000Z (almost 6 years ago)
- Last Synced: 2025-02-02T03:42:15.094Z (over 1 year ago)
- Topics: data, golang, package
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# sabre
Slice your files like a champ with **sabre**
## Setup
Install [go](https://golang.org/doc/install).
Clone the repo:
```
git clone https://github.com/igor-starostenko/sabre.git
```
Install:
```
go install
```
It compiles the module and makes **sabre** executable available under `~/go/bin`
## Usage
```
usage: sabre [options] SOURCE OUTPUT
-e string
Output file extension. (default "txt")
-l int
Max lines sliced per file. (default 100)
-q Supress informational output.
-s Use Scan method. Has max 4096 byte buffer limit for a line.
-v Print version info about sabre and exit.
```
where `SOURCE` is the source file to be sliced
and `OUTPUT` is a directory to save the slices to
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/igor-starostenko/sabre. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
## License
The application is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).