Expose primary workflow in public CLI help
This commit is contained in:
parent
1c3fdfc38a
commit
e6c2a1a981
4 changed files with 56 additions and 4 deletions
|
|
@ -36,6 +36,17 @@ function assertHuman(name, output, requiredPatterns) {
|
|||
}
|
||||
}
|
||||
|
||||
const helpHuman = disasmer(["help"]);
|
||||
assertHuman("help", helpHuman, [
|
||||
/Primary workflow:/,
|
||||
/disasmer login --browser/,
|
||||
/disasmer project init/,
|
||||
/disasmer node attach --worker/,
|
||||
/Disasmer: Launch Virtual Process/,
|
||||
/Hosted account creation happens in the browser login flow/,
|
||||
/--json/,
|
||||
]);
|
||||
|
||||
const loginHuman = disasmer(["login", "--coordinator", "https://coord.example.test"]);
|
||||
assertHuman("login", loginHuman, [
|
||||
/Disasmer login/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue