diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-02-28 18:46:38 +0100 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-02-28 18:51:01 +0100 |
| commit | 50c413b6f3c02c63b143ad4abf2e357cf7b2fbb0 (patch) | |
| tree | d0b3a3dcfad6b3d29e52054df0eb8c8a1ca97dba /README.md | |
| parent | 8b613be06c58b33892e9b6501621899fde8fa8df (diff) | |
| download | minishell_test-50c413b6f3c02c63b143ad4abf2e357cf7b2fbb0.tar.gz minishell_test-50c413b6f3c02c63b143ad4abf2e357cf7b2fbb0.tar.bz2 minishell_test-50c413b6f3c02c63b143ad4abf2e357cf7b2fbb0.zip | |
Updated README.rst to generate inline image shields
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 39 |
1 files changed, 32 insertions, 7 deletions
@@ -1,10 +1,10 @@ -# minishell_test +# minishell\_test [](https://pypi.org/project/minishell-test/) [](https://minishell-test.readthedocs.io) [](https://travis-ci.com/cacharle/minishell_test) -Test for 42 school\'s minishell project. +Test for 42 school's minishell project.  @@ -12,7 +12,7 @@ Test for 42 school\'s minishell project. ### Installation -``` {.} +``` $ pip3 install minishell-test $ pip3 install --user minishell-test # if you don't have root access ``` @@ -22,26 +22,51 @@ $ pip3 install --user minishell-test # if you don't have root access Your executable **must** support the `-c` option which allow to pass command as string. -``` {.} +``` $ bash -c 'echo bonjour je suis | cat -e' bonjour je suis$ $ ./minishell -c 'echo bonjour je suis | cat -e' bonjour je suis$ ``` +<div class="note"> + +<div class="title"> + +Note + +</div> + With this setup `argv[2]` is what you would usually get in `line` from `get_next_line`. +</div> + ### Usage Run all the predefined tests: -``` {.} +``` $ cd <MINISHELL> $ minishell_test ``` +<div class="warning"> + +<div class="title"> + +Warning + +</div> + If you get `command not found`, do either of those things: -- `~/.local/bin` to your `PATH` environment variable. -- run `$ python3 -m minishell_test` instead of `$ minishell_test` +- `~/.local/bin` to your `PATH` environment variable. +- run `$ python3 -m minishell_test` instead of `$ minishell_test` + +</div> + +## Documentation + +The full documentation for this project is available at +[minishell-test.readthedocs.io](https://minishell-test.readthedocs.io). |
