Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TODO.md with v0.2.0 tasks #33

Merged
merged 2 commits into from
Aug 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 9 additions & 44 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,9 @@
## TODO

## v0.0.1-alpha.3
* [x] Refactor configuration storage
* [x] Store and expose proc information for child processes

## v0.0.1-alpha.4
* [x] Add Proc namespace with process-related methods
* `Proc.ID()`
* `Proc.Exited()`
* `Proc.ExitCode()`
* `Proc.IsSuccess()`
* `Proc.SysTime()`
* `Proc.UserTime()`

* [x] Add Prog namespace for methods related to running program
* Exit - `e.Prog.Exit(code, msgs...string)` (exit prog)
* Name - `e.Prog.Name()` (prog name)
* Args - `e.Prog.Args()` (slice of prog arguments)
* Pid - `e.Prog.Pid()` (proc id)
* Pwd - `e.Prog.Workdir()`
* Avail - `e.Prog.Avail(path)`

* [x] Doc update

## v0.0.1-alpha.5
* [x] Namespace all methods
* [x] Add package level shortcut funcs for popular methods

## v0.0.1-alpha.6
* [ ] ~Default shell: sets a default shell for method Run (`e.Conf.Shell()`)~.
* [x] Enhanced text parsing with parameter expansion escape


## ~Upcoming~
- Ability to pipe result from previous cmd i.e.:
e.Pipe(e.Run(cmd), e.Run(cmd), e.Run(cmd))
- Item iterator:
e.ForEach(list interface{}, func(item))
- Files iterator:
e.ForPath(paths interface{}, func(item)))

## Future
- Windows support?
# Upcoming Tasks
The following are high-level tasks that will be applied for upcoming release cycles.

* [ ] Introduce Windows support (#27)
* [ ] Support for scatter/gather exec commands
* [ ] Support for concurrent exec of os commands
* [ ] Map program flags (#20)
* [ ] Piping/chaining OS exec commands (#29)
* [ ] Apply code quality changes