removed windows and linux split subdir
This commit is contained in:
parent
83dda10fa8
commit
065b982734
280 changed files with 9053 additions and 426 deletions
74
.antidote/tests/test_cmd_list.md
Normal file
74
.antidote/tests/test_cmd_list.md
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
# antidote list tests
|
||||
|
||||
## Setup
|
||||
|
||||
```zsh
|
||||
% source ./tests/_setup.zsh
|
||||
% source ./antidote.zsh
|
||||
%
|
||||
```
|
||||
|
||||
## List Command
|
||||
|
||||
### Short
|
||||
|
||||
`antidote list --short`
|
||||
|
||||
```zsh
|
||||
% antidote list --short | subenv ANTIDOTE_HOME
|
||||
foo/bar
|
||||
foo/baz
|
||||
getantidote/zsh-defer
|
||||
git@github.com:foo/qux
|
||||
ohmy/ohmy
|
||||
%
|
||||
```
|
||||
|
||||
### Directories
|
||||
|
||||
`antidote list --dirs`
|
||||
|
||||
```zsh
|
||||
% antidote list --dirs | subenv ANTIDOTE_HOME
|
||||
$ANTIDOTE_HOME/foo/bar
|
||||
$ANTIDOTE_HOME/foo/baz
|
||||
$ANTIDOTE_HOME/foo/qux
|
||||
$ANTIDOTE_HOME/getantidote/zsh-defer
|
||||
$ANTIDOTE_HOME/ohmy/ohmy
|
||||
%
|
||||
```
|
||||
|
||||
### URLs
|
||||
|
||||
`antidote list --url`
|
||||
|
||||
```zsh
|
||||
% antidote list --url
|
||||
git@github.com:foo/qux
|
||||
https://github.com/foo/bar
|
||||
https://github.com/foo/baz
|
||||
https://github.com/getantidote/zsh-defer
|
||||
https://github.com/ohmy/ohmy
|
||||
%
|
||||
```
|
||||
|
||||
### Full
|
||||
|
||||
`antidote list`
|
||||
|
||||
```zsh
|
||||
% antidote list | subenv ANTIDOTE_HOME
|
||||
git@github.com:foo/qux $ANTIDOTE_HOME/foo/qux
|
||||
https://github.com/foo/bar $ANTIDOTE_HOME/foo/bar
|
||||
https://github.com/foo/baz $ANTIDOTE_HOME/foo/baz
|
||||
https://github.com/getantidote/zsh-defer $ANTIDOTE_HOME/getantidote/zsh-defer
|
||||
https://github.com/ohmy/ohmy $ANTIDOTE_HOME/ohmy/ohmy
|
||||
%
|
||||
```
|
||||
|
||||
## Teardown
|
||||
|
||||
```zsh
|
||||
% t_teardown
|
||||
%
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue