fj issue
Work with issues
fj issue [OPTIONS] <COMMAND>Every command also accepts the global flags:
--host,--debug,--no-pager,--json-fields.
Options
--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue list
List issues in a repo
fj issue list [OPTIONS]fj issue view
View an issue by number
fj issue view [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--comments— Include the comment thread--json— Emit JSON instead of a table--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]--web— Open the issue in your browser
fj issue create
Create an issue with optional labels and assignees
fj issue create [OPTIONS]Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-t, --title <TITLE>— Issue title-b, --body <BODY>— Body. Use-to read from stdin. Omit to open$EDITOR--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]-F, --body-file <FILE>— Read body from file (use-for stdin)--template— [<NAME>] Preload the issue body from a repository issue template-l, --label <NAME>— Label name to add. Repeat or use commas for multiple labels-a, --assignee <USERNAME>— Username to assign. Repeat or use commas for multiple assignees-m, --milestone <TITLE|ID>— Milestone title or id to file the issue under--web— Open the new issue in your browser after creating
fj issue edit
Edit an issue’s title/body or add/remove labels and assignees
fj issue edit [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-t, --title <TITLE>— Issue title-b, --body <BODY>— New body. Use-to read from stdin. Pass--body-editorto open$EDITOR--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]-F, --body-file <FILE>— Read body from file (use-for stdin)--body-editor— Open$EDITORto edit the body inline (overrides--body)--add-label <NAME>— Label name to add. Repeat or use commas for multiple labels--remove-label <NAME>— Label name to remove. Repeat or use commas for multiple labels--add-assignee <USERNAME>— Username to assign. Repeat or use commas for multiple assignees--remove-assignee <USERNAME>— Username to unassign. Repeat or use commas for multiple assignees
fj issue close
Close an issue
fj issue close [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue reopen
Reopen a closed issue
fj issue reopen [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue lock
Lock an issue conversation
fj issue lock [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--reason <REASON>— Reason for locking the conversation [possible values: off-topic, too-heated, resolved, spam]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue unlock
Unlock an issue conversation
fj issue unlock [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue delete
Delete an issue permanently (requires repo admin)
fj issue delete [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-y, --yes— Skip the confirmation prompt--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue pin
Pin an issue to the top of the issue list
fj issue pin [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue unpin
Unpin a pinned issue
fj issue unpin [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue comment
Add a comment
fj issue comment [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-b, --body <BODY>— Comment body. Use-to read from stdin. Omit to open$EDITOR-F, --body-file <FILE>— Read body from file (use-for stdin)--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue edit-comment
Edit a comment by id (comment ids come from issue view --comments)
fj issue edit-comment [OPTIONS] <COMMENT_ID>Arguments
<COMMENT_ID>— Comment id (NOT the issue number). Find it viaissue view --comments --json
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-b, --body <BODY>— New body. Use-to read from stdin. Omit to open$EDITOR-F, --body-file <FILE>— Read body from file (use-for stdin)--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue delete-comment
Delete a comment by id
fj issue delete-comment [OPTIONS] <COMMENT_ID>Arguments
<COMMENT_ID>— Comment id
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-y, --yes— Skip the confirmation prompt--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue develop
Create a branch tied to the issue
fj issue develop [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-n, --name <NAME>— Branch name. Defaults toissue-<number>-<slug-of-title>--base <BASE>— Base branch to start from. Defaults to the repo’s default branch--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]--dry-run— Just print the branch name; don’t run git
fj issue reaction
React to an issue, a pull request, or a comment, and see the tally
fj issue reaction [OPTIONS] <COMMAND>Options
--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue reaction list
Show the per-emoji tally and who reacted
fj issue reaction list [OPTIONS] [NUMBER]Arguments
[NUMBER]— Issue or pull request number (reactions on its body)
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--comment <ID>— React to this comment id instead (ids come fromissue view --comments --json)--json— Emit JSON instead of a table--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue reaction add
Add your reaction
fj issue reaction add [OPTIONS] <REACTION> [NUMBER]Arguments
<REACTION>— Reaction: +1, -1, laugh, hooray, confused, heart, rocket, eyes [possible values: +1, -1, laugh, hooray, confused, heart, rocket, eyes][NUMBER]— Issue or pull request number (reacts to its body)
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--comment <ID>— React to this comment id instead (ids come fromissue view --comments --json)--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue reaction remove
Remove your reaction
fj issue reaction remove [OPTIONS] <REACTION> [NUMBER]Arguments
<REACTION>— Reaction: +1, -1, laugh, hooray, confused, heart, rocket, eyes [possible values: +1, -1, laugh, hooray, confused, heart, rocket, eyes][NUMBER]— Issue or pull request number (reacts to its body)
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--comment <ID>— React to this comment id instead (ids come fromissue view --comments --json)--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue reaction toggle
Add your reaction, or remove it if you already reacted with it
fj issue reaction toggle [OPTIONS] <REACTION> [NUMBER]Arguments
<REACTION>— Reaction: +1, -1, laugh, hooray, confused, heart, rocket, eyes [possible values: +1, -1, laugh, hooray, confused, heart, rocket, eyes][NUMBER]— Issue or pull request number (reacts to its body)
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--comment <ID>— React to this comment id instead (ids come fromissue view --comments --json)--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue dependency
Show and change what an issue or pull request depends on and blocks
fj issue dependency [OPTIONS] <COMMAND>Options
--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue dependency list
List what the work item depends on and what it blocks
fj issue dependency list [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue or pull request number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-L, --limit <LIMIT>— Maximum number of work items to fetch per list [default: 30]--json— Emit JSON instead of a table--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue dependency add
Link another work item (depends on it by default; –blocks reverses)
fj issue dependency add [OPTIONS] <NUMBER> <REFERENCE>Arguments
<NUMBER>— Issue or pull request number<REFERENCE>— The other work item:12,#12, orowner/repo#12
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--blocks— NUMBER blocks REFERENCE, instead of NUMBER depending on REFERENCE--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue dependency remove
Unlink a work item from the list it is shown under
fj issue dependency remove [OPTIONS] <NUMBER> <REFERENCE>Arguments
<NUMBER>— Issue or pull request number<REFERENCE>— The other work item:12,#12, orowner/repo#12
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--blocks— NUMBER blocks REFERENCE, instead of NUMBER depending on REFERENCE--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue time
Show, log, and delete tracked time on an issue or pull request
fj issue time [OPTIONS] <COMMAND>Options
--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue time list
List tracked time entries with their author, duration, and the total
fj issue time list [OPTIONS] <NUMBER>Arguments
<NUMBER>— Issue or pull request number
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-L, --limit <LIMIT>— Maximum number of entries to show (the total always covers all of them) [default: 30]--json— Emit JSON instead of a table--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue time add
Log time as yourself, e.g. fj issue time add 12 1h30m
fj issue time add [OPTIONS] <NUMBER> <DURATION>Arguments
<NUMBER>— Issue or pull request number<DURATION>— Duration:1h30m,45m,2h,90s, or1:30(hours:minutes)
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
fj issue time delete
Delete a time entry by id (ids come from issue time list)
fj issue time delete [OPTIONS] <NUMBER> <ID>Arguments
<NUMBER>— Issue or pull request number<ID>— Time entry id
Options
-R, --repo <REPO>— Target repository as<owner>/<name>. Inferred from the git remote when omitted--account <ACCOUNT>— Use an environment PAT for this account for this invocation only [env: FJ_ACCOUNT]-y, --yes— Skip the confirmation prompt--color <COLOR>— When to use ANSI color in output [default: auto][possible values: auto, always, never]
- Stephen Way