mugit/testscript/cli-repo-description.txtar (view raw)
| 1 | mugit repo new desc-repo |
| 2 | |
| 3 | mugit repo description desc-repo |
| 4 | stderr 'description=""' # fix output |
| 5 | |
| 6 | mugit repo description desc-repo 'new test desc' |
| 7 | stderr 'new_description="new test desc"' # fix output |
| 8 | |
| 9 | mugit repo description desc-repo |
| 10 | stderr 'new_description="new test desc"' # fix output |
| 11 | |
| 12 | # missing repo name |
| 13 | ! mugit repo description |
| 14 | stderr 'no name provided' |
| 15 | |
| 16 | # repo does not exist |
| 17 | ! mugit repo description nonexistent |
| 18 | stderr 'failed to open repo' |