-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Refernces | ||
- [Clap cookbook git derive](https://docs.rs/clap/latest/clap/_derive/_cookbook/git_derive/index.html) | ||
- [Clap cookbook cargo derive](https://docs.rs/clap/latest/clap/_derive/_cookbook/cargo_example_derive/index.html) | ||
- [Copy directory recursivley function (common.rs)](https://nick.groenen.me/notes/recursively-copy-files-in-rust/) | ||
- [Capitalize word function (common.rs)](https://nick.groenen.me/notes/capitalize-a-string-in-rust/) | ||
- [] | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
!TODO | ||
[ ] Add default skeleton text | ||
[ ] Add correct error handling (get rid of the 100 std::io::Error's) | ||
[ ] Choose unwrap_or_else() or Result<> | ||
|
||
# Command Line Interface | ||
|
||
## Commands | ||
|
||
- List - List all configured skeletons | ||
- Edit <Skeleton> - Edit a skeleton | ||
- Add <Name> - Configure new skeleton | ||
- Add <Name> --source <Path> - Configure new skeleton from path | ||
- New <Path> - Copy skeleton to specified directory | ||
- Remove <Skeleton> - Remove configured skeleton and its files | ||
|
||
### Usage Examples | ||
|
||
sk list | ||
sk edit rust (opens vim with the rust sk file/dir) | ||
sk add rust (todo! maybe interactive dir creator) | ||
sk add --source rust_sk/ | ||
sk new rust | ||
sk remove javascript |