dduan / ea Goto Github PK
View Code? Open in Web Editor NEWea: make your CLI output actionable.
License: MIT License
ea: make your CLI output actionable.
License: MIT License
Generating manual requires pandoc
, which can be run via script/pandoc-docker
if necessary.
Whenever docs/UserManual
is edited, make manual
should be run on CI to ensure there's no delta between the generated result and docs/ea.1
.
Potential things to overcome:
docker
- we could install pandoc via brew
.a python trace back looks like:
Traceback (most recent call last):
File "/tmp/test2.py", line 1, in <module>
import test
File "/private/tmp/test.py", line 1
def f()
rustc output looks like
error[E0412]: cannot find type `PathBufx` in this scope
--> src/archive.rs:8:30
|
8 | static ref ARCHIVE_PATH: PathBufx = [
| ^^^^^^^^ help: a struct with a similar name exists: `PathBuf`
warning: unused import: `PathBuf`
--> src/archive.rs:4:17
|
4 | use std::path::{PathBuf, Path};
| ^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0599]: no method named `as_path` found for struct `ARCHIVE_PATH` in the current scope
--> src/archive.rs:33:27
|
7 | / lazy_static! {
8 | | static ref ARCHIVE_PATH: PathBufx = [
9 | | "/tmp".to_string(),
10 | | format!(
... |
16 | | .collect();
17 | | }
| |_- method `as_path` not found for this
...
33 | write_to(ARCHIVE_PATH.as_path(), list)
| ^^^^^^^ method not found in `ARCHIVE_PATH`
error[E0599]: no method named `as_path` found for struct `ARCHIVE_PATH` in the current scope
--> src/archive.rs:42:28
|
7 | / lazy_static! {
8 | | static ref ARCHIVE_PATH: PathBufx = [
9 | | "/tmp".to_string(),
10 | | format!(
... |
16 | | .collect();
17 | | }
| |_- method `as_path` not found for this
...
42 | read_from(ARCHIVE_PATH.as_path())
| ^^^^^^^ method not found in `ARCHIVE_PATH`
Some errors have detailed explanations: E0412, E0599.
For more information about an error, try `rustc --explain E0412`.
warning: `ea-command` (lib) generated 1 warning
error: could not compile `ea-command` due to 3 previous errors; 1 warning emitted
pty crate doesn't support Windows
It should be 1 to be more user/editor friendly.
docs should explain how to find:
When a command produces 0 paths, right now ea
would write 0 paths on disk, erasing whatever is already there. This doesn't help anybody. 0 paths should lead to 0 writes.
Right now ea run
takes in command output in one batch instead of with a buffered approach. This can create a bad UX when command output is produced slowly. We should support streaming outputs.
The issue right now is ea
is taken on cargo. But renaming and add a [[bin]]
breaks the current semi-lib-exe setup.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.