coliru

A minimal, flexible, dotfile installer
git clone https://git.ashermorgan.net/coliru/
Log | Files | Refs | README

commit 6df7de115843504ddfb52829dce36f79ab11edea
parent 00d2a20f978fef52090268d03dc61158c6f0bed7
Author: Asher Morgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Fri,  5 Jul 2024 13:06:05 -0700

Update basic e2e tests

Diffstat:
Mtests/basic.rs | 21++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/tests/basic.rs b/tests/basic.rs @@ -15,15 +15,22 @@ A minimal, flexible, dotfile installer Usage: coliru{EXE_SUFFIX} [OPTIONS] <MANIFEST> Arguments: - <MANIFEST> The path to the coliru YAML manifest file + <MANIFEST> The path to the coliru manifest file Options: - -t, --tag-rules [<TAG_RULES>...] The set of tag rules to enforce - --host <HOST> Install dotfiles on another machine over SSH - -c, --copy Interpret link commands as copy commands - -n, --dry-run Do a trial run without any permanent changes - -h, --help Print help - -V, --version Print version + -t, --tag-rules [<RULE>...] The set of tag rules to enforce + -n, --dry-run Do a trial run without any permanent changes + --host <HOST> Install dotfiles on another machine over SSH + --copy Interpret link commands as copy commands + -h, --help Print help + -V, --version Print version + +Examples: + # Install dotfiles from manifest.yml with tags matching A && (B || C) && !D + coliru manifest.yml --tag-rules A B,C ^D + + # Install dotfiles from manifest.yml to user@hostname over SSH + coliru manifest.yml --tag-rules A B,C ^D --host user@hostname "); assert_eq!(stdout_to_string(&mut cmd), expected); assert_eq!(&stderr_to_string(&mut cmd), "");