mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
cli-test: Update framework with new features
* Ability to switch between environments within the same test file * Ability to expand env vars in `cd` command
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
```
|
||||
$ mkdir bin
|
||||
$ cd bin
|
||||
$ touch file.bin
|
||||
```
|
||||
|
||||
``` ~bob
|
||||
$ rad self --did
|
||||
did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
|
||||
$ pwd
|
||||
[..]/home/bob/.radicle
|
||||
$ mkdir src
|
||||
$ cd src
|
||||
$ pwd
|
||||
[..]/home/bob/.radicle/src
|
||||
```
|
||||
|
||||
``` ~alice
|
||||
$ rad self --did
|
||||
did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
|
||||
$ pwd
|
||||
[..]/home/alice/.radicle
|
||||
```
|
||||
|
||||
``` ~bob
|
||||
$ pwd
|
||||
[..]/home/bob/.radicle/src
|
||||
```
|
||||
|
||||
```
|
||||
$ ls
|
||||
file.bin
|
||||
```
|
||||
Reference in New Issue
Block a user