Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions packages/cli/e2e/__tests__/help.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ describe('help', () => {
it('should print core and additional commands and topic', async () => {
const { stdout } = await runCheckly(fixt, ['--help'])
expect(stdout).toContain(`CORE COMMANDS
deploy Deploy your project to your Checkly account.
init Initialize Checkly in your project
pw-test Test your Playwright Tests on Checkly.
test Test your checks on Checkly.
trigger Trigger your existing checks on Checkly.`)
deploy Deploy your project to your Checkly account.
init Initialize Checkly in your project
pw-test Test your Playwright Tests on Checkly.
test Test your checks on Checkly.
trigger Trigger your existing checks on Checkly.
validate Validate your project without deploying it.`)

expect(stdout).toContain(`ADDITIONAL COMMANDS
account View and manage your Checkly account.
Expand Down
1 change: 1 addition & 0 deletions packages/cli/src/ai-context/references/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ Run `npx checkly skills manage plan` for the full reference.

## Testing and Debugging

- Validate the project using the `npx checkly validate` command. It reports configuration errors and warnings without running or deploying any checks.
- Test checks using the `npx checkly test` command. Pass environment variables with the `-e` flag, results are recorded by default (use `--no-record` to skip), and use `--verbose` to see all errors.

## Deploying
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/validate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { Runtime } from '../runtimes/index.js'

export default class Validate extends AuthCommand {
static coreCommand = true
static hidden = true // Expose when validation is more thorough.
static hidden = false
static readOnly = true
static idempotent = true
static description = 'Validate your project.'
static description = 'Validate your project without deploying it.'

static flags = {
'config': Flags.string({
Expand Down