chainabit goals create
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Declare a goal
Synopsis
text
chainabit goals create --objective <text> [options]Options
| Option | Description | Default |
|---|---|---|
--success-criteria <text> | Success criteria | — |
--deadline <datetime> | Deadline | — |
--objective <text> | Objective. Required. | — |
--actor-kind <actor> | Goal owner type. Accepted values: person, organization. | "person" |
--kind <kind> | Goal type. Accepted values: objective, milestone, commitment. | "objective" |
--project-id <id> | Project ID | — |
--parent-goal-id <id> | Parent goal ID | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Declares a new goal from the required --objective text. Optional details:
--success-criteriastates how you will know the goal is reached, and--deadlinesets a deadline.--actor-kindsays whether the goal belongs to aperson(default) or anorganization.--kindsets the type of goal:objective(default),milestoneorcommitment.--project-idattaches the goal to a project, and--parent-goal-idmakes it part of another goal.
A new goal starts at revision 1. The command asks for no confirmation and has no --yes flag. A project or parent goal ID that is not a valid ID is refused before anything is requested.
Output
The created goal: ID, objective, status, revision, success criteria and deadline. With --json the record contains id, objective, revision, successCriteria, deadline, origin and confirmation; for a goal declared with this command origin and confirmation are both declared.
Authentication and permissions
You must be signed in.
Examples
bash
chainabit goals create --objective "Publish notes"
chainabit goals create --objective "Publish notes" --success-criteria "Reviewed notes" --project-id 00000000-0000-4000-8000-000000000001
chainabit goals create --objective "Ship the first release" --kind milestone --parent-goal-id 00000000-0000-4000-8000-000000000002 --json