Skip to content

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 ​

OptionDescriptionDefault
--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-criteria states how you will know the goal is reached, and --deadline sets a deadline.
  • --actor-kind says whether the goal belongs to a person (default) or an organization.
  • --kind sets the type of goal: objective (default), milestone or commitment.
  • --project-id attaches the goal to a project, and --parent-goal-id makes 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

Built with purpose. chainabit.com