Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
fix list
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiegaze committed Jan 31, 2024
1 parent 1273649 commit 31e0aad
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cmd/update/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ Then, pass it in using the *file* flag:
To archive or activate (unarchive) a project using a *yaml* file:
* Add a state field, with a value of *0* for activated (unarchived)
or *1* for archived, at the top level of the the *yaml* file.
* Add a state field, with a value of *0* for activated (unarchived) or *1* for archived, at the top level of the the *yaml* file.
* Add the *archive* flag to the command.
Expand Down Expand Up @@ -89,10 +88,9 @@ And to activate (unarchive) the same project:
$ uctl update project --file update.yaml --archive
The *state* field only takes effect if the *archive* flag is present in the command.
The *activate** flag is not used when updating a project using a *yaml* file.
Instead, a *state* field value of *0* in conjunction with the *archive* flag is used.
Note that when using a *yaml* file, the *activate* flag is not used.
Instead, the *archive* flag is used for *both* archiving and activating (unarchiving) with the difference being in the *state* field of the *yaml* file.
Furthermore, the *state* field only takes effect if the *archive* flag is present in the command.
Usage
`
Expand Down

0 comments on commit 31e0aad

Please sign in to comment.