| Crates.io | oce |
| lib.rs | oce |
| version | 0.0.4 |
| created_at | 2021-09-22 18:45:37.846014+00 |
| updated_at | 2021-09-23 06:41:55.759371+00 |
| description | Output Command Execution |
| homepage | |
| repository | https://github.com/tkeiyama/oce |
| max_upload_size | |
| id | 455054 |
| size | 4,397 |
The oce outputs a file that inclues:
Examples are here.
A CLI example is below.
$ cargo install oce
$ cargo oce git status
# The result is like
$ git status
On branch main
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
../../.gitignore
../../Cargo.toml
../
../../result
../../src/
nothing added to commit but untracked files present (use "git add" to track)
A library sample usage is below. The result is the same as above.
use oce::oce;
use std::env;
fn main() {
let command = "git status".to_string();
oce(&command);
}
OCE is MIT Licensed.