Skip to content

Commit 5c78820

Browse files
Itai GendlerItai Gendler
authored andcommitted
update documentation
1 parent 59ca43e commit 5c78820

36 files changed

+97
-64
lines changed

auto-docs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ recursive(path.resolve(__dirname, '../lib/interface/cli/commands'), (err, files)
2222
}
2323

2424
const docs = command.prepareDocs();
25-
if (!docs) {
25+
if (!docs.category) {
2626
return;
2727
}
2828

docs-template/content/authentication/Create authentication context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Create authentication context"
33
+++
44

55
### Command
6-
`codefresh create-context [name]`
6+
`codefresh auth create-context [name]`
77

88
Create or update an authentication context
99
### Positionals

docs-template/content/authentication/Get activated context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ title = "Get activated context"
33
+++
44

55
### Command
6-
`codefresh current-context`
6+
`codefresh auth current-context`
77

88
Get the current activated authentication context

docs-template/content/authentication/Get all contexts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ title = "Get all contexts"
33
+++
44

55
### Command
6-
`codefresh get-contexts`
6+
`codefresh auth get-contexts`
77

88
Get all possible authentication contexts

docs-template/content/authentication/Set active context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Set active context"
33
+++
44

55
### Command
6-
`codefresh use-context <name>`
6+
`codefresh auth use-context <name>`
77

88
Set the current active authentication context
99
### Positionals

docs-template/content/authentication/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ title = "Authentication"
33
+++
44

55
### [Create authentication context](create-authentication-context)
6-
`codefresh create-context [name]`
6+
`codefresh auth create-context [name]`
77

88
Create or update an authentication context
99

1010
### [Get activated context](get-activated-context)
11-
`codefresh current-context`
11+
`codefresh auth current-context`
1212

1313
Get the current activated authentication context
1414

1515
### [Get all contexts](get-all-contexts)
16-
`codefresh get-contexts`
16+
`codefresh auth get-contexts`
1717

1818
Get all possible authentication contexts
1919

2020
### [Set active context](set-active-context)
21-
`codefresh use-context <name>`
21+
`codefresh auth use-context <name>`
2222

2323
Set the current active authentication context
2424

docs-template/content/builds/Get a single build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title = "Get a single build"
33
+++
44

55
### Command
6-
`codefresh builds [id]`
6+
`codefresh get builds [id]`
77

8-
Get a specific builds or an array of builds
8+
Get a specific build or an array of builds
99
### Positionals
1010

1111
Option | Default | Description

docs-template/content/builds/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title = "Builds"
33
+++
44

55
### [Get a single build](get-a-single-build)
6-
`codefresh builds [id]`
6+
`codefresh get builds [id]`
77

8-
Get a specific builds or an array of builds
8+
Get a specific build or an array of builds
99

1010
### [Show logs](show-logs)
1111
`codefresh logs <id>`

docs-template/content/compositions/Create a composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Create a composition"
33
+++
44

55
### Command
6-
`codefresh composition [name]`
6+
`codefresh create composition [name]`
77

88
Create a composition
99
### Positionals

docs-template/content/compositions/Delete a composition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title = "Delete a composition"
33
+++
44

55
### Command
6-
`codefresh composition [name]`
6+
`codefresh delete composition [name]`
77

88
Delete a composition
99
### Positionals

0 commit comments

Comments
 (0)