feat: plaintext output mode and Effect-native help/logging #71
Annotations
8 errors
|
cicd
Process completed with exit code 1.
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > --debug aliases to full verbose mode:
tests/integration/cli-smoke.test.ts#L352
AssertionError: expected 'Log level has been set to: debug' to contain '(verbose output enabled: full details)'
Expected: "(verbose output enabled: full details)"
Received: "Log level has been set to: debug"
❯ tests/integration/cli-smoke.test.ts:352:27
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > --info aliases to basic verbose mode:
tests/integration/cli-smoke.test.ts#L341
AssertionError: expected 'Log level has been set to: info' to contain '(verbose output enabled)'
Expected: "(verbose output enabled)"
Received: "Log level has been set to: info"
❯ tests/integration/cli-smoke.test.ts:341:27
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > repeated -v flags enable full verbose mode:
tests/integration/cli-smoke.test.ts#L331
AssertionError: expected 'Log level has been set to: debug' to contain '(verbose output enabled: full details)'
Expected: "(verbose output enabled: full details)"
Received: "Log level has been set to: debug"
❯ tests/integration/cli-smoke.test.ts:331:27
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > -vv enables full verbose mode:
tests/integration/cli-smoke.test.ts#L321
AssertionError: expected 'Log level has been set to: debug' to contain '(verbose output enabled: full details)'
Expected: "(verbose output enabled: full details)"
Received: "Log level has been set to: debug"
❯ tests/integration/cli-smoke.test.ts:321:27
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > -v enables basic verbose mode:
tests/integration/cli-smoke.test.ts#L310
AssertionError: expected 'Log level has been set to: info' to contain '(verbose output enabled)'
Expected: "(verbose output enabled)"
Received: "Log level has been set to: info"
❯ tests/integration/cli-smoke.test.ts:310:27
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > --help still prints framework help text:
tests/integration/cli-smoke.test.ts#L299
AssertionError: expected '{"ok":true,"command":"godaddy --help"…' to contain 'COMMANDS'
Expected: "COMMANDS"
Received: "{"ok":true,"command":"godaddy --help","result":{"options":[{"flags":"--pretty","description":"Pretty-print JSON envelopes with 2-space indentation"},{"flags":"--output text","description":"Output format: json (default) or plaintext"},{"flags":"(-j, --json)","description":"Shorthand for --output=json"},{"flags":"(-p, --plaintext)","description":"Shorthand for --output=plaintext"},{"flags":"(-e, --env text)","description":"Set the target environment for commands (ote, prod)"},{"flags":"--completions sh | bash | fish | zsh","description":"Generate a completion script for a specific shell."},{"flags":"--log-level all | trace | debug | info | warning | error | fatal | none","description":"Sets the minimum log level for a command."},{"flags":"(-h, --help)","description":"Show the help documentation for a command."},{"flags":"--wizard","description":"Start wizard mode for a command."},{"flags":"--version","description":"Show the version of the application."}],"commands":[{"command":"env","description":"Manage GoDaddy environments (ote, prod)"},{"command":"env list","description":"List all available environments"},{"command":"env get","description":"Get current active environment"},{"command":"env set <environment>","description":"Set active environment"},{"command":"env info [<environment>]","description":"Show detailed information about an environment"},{"command":"auth","description":"Manage authentication with GoDaddy Developer Platform"},{"command":"auth login (-s, --scope text)...","description":"Login to GoDaddy Developer Platform"},{"command":"auth logout","description":"Logout and clear stored credentials"},{"command":"auth status","description":"Check authentication status"},{"command":"api","description":"Explore and call GoDaddy API endpoints"},{"command":"api list [(-d, --domain text)]","description":"List available API domains and endpoints"},{"command":"api describe <endpoint>","description":"Show detailed schema information for an API endpoint"},{"command":"api search <query>","description":"Search for API endpoints by keyword"},{"command":"api call [(-X, --method text)] (-f, --field text)... [(-F, --file text)] (-H, --header text)... [(-q, --query text)] [(-i, --include)] (-s, --scope text)... <endpoint>","description":"Make authenticated requests to the GoDaddy API"},{"command":"actions","description":"Manage application actions"},{"command":"actions list","description":"List all available actions that an application developer can hook into"},{"command":"actions describe <action>","description":"Show detailed interface information for a specific action"},{"command":"webhook","description":"Manage webhook integrations"},{"command":"webhook events","description":"List available webhook event types"},{"command":"application","description":"Manage applications"},{"command":"application info <name>","description":"Show application information"},{"command":"application list","description":"List all applications"},{"command":"application validate <name>","description":"Validate application configuration"},{"command":"application update [--label text] [--description text] [--status text] <name>","description":"Update application configuration"},{"command":"application enable --store-id text <name>","description":"Enable application on a store"},{"command":"application disable --store-id text <name>","description":"Disable application on a store"},{"command":"application archive <name>","description":"Archive application"},{"command":"application init [--name text] [--description text] [--url text] [--proxy-url text] --scopes text... [(-c, --config text)] [--environment text]","description":"Initialize/create a new application"},{"command":"application add","description":"Add configurations to application"},{"command":"application application add action --name text --url text [(-c, --config text)] [--environment text]","description":"Add action configuration to godaddy.toml"},{"command":"application
|
|
tests/integration/cli-smoke.test.ts > CLI Smoke Tests > unsupported --output option returns structured error envelope:
tests/integration/cli-smoke.test.ts#L244
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ tests/integration/cli-smoke.test.ts:244:27
|