Files
iris-context/commands/sys/forge.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

54 lines
2.9 KiB
Go

package sys
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "forge",
Description: "A command line interface for managing Atlassian-hosted apps",
Subcommands: []core.Subcommand{
{Name: "autocomplete", Description: "Configures autocomplete for the Forge CLI"},
{Name: "create", Description: "Create an app"},
{Name: "deploy", Description: "Deploy your app to an environment"},
{Name: "feedback", Description: "Let us know what you think about Forge"},
{Name: "install", Description: "Manage app installations"},
{Name: "list", Description: "List app installations"},
{Name: "help", Description: "Display help for command"},
{Name: "lint", Description: "Check the source files for common errors"},
{Name: "login", Description: "Log in to your Atlassian account"},
{Name: "logout", Description: "Log out of your Atlassian account"},
{Name: "logs", Description: "View app logs"},
{Name: "providers", Description: "Manage external providers"},
{Name: "configure", Description: "Configure provider credentials"},
{Name: "register", Description: "Register an app you didn't create so you can run commands for it"},
{Name: "settings", Description: "Manage Forge CLI settings"},
{Name: "set", Description: "Update Forge CLI setting (choices: usage-analytics)"},
{Name: "uninstall", Description: "Uninstall the app from an Atlassian site"},
{Name: "variables", Description: "Manage app environment variables"},
{Name: "unset", Description: "Remove an environment variable"},
{Name: "webtrigger", Description: "Get a web trigger URL"},
{Name: "whoami", Description: "Display the account information of the logged in user"},
},
Options: []core.Option{
{Name: "--verbose", Description: "Enable verbose mode"},
{Name: "-h", Description: "Display help for command"},
{Name: "-t", Description: "Specify the template to use"},
{Name: "-d", Description: "Specify the directory to create (uses the template name by default)"},
{Name: "-f", Description: "Disable pre-deployment checks"},
{Name: "-e", Description: "Run the command without input prompts"},
{Name: "-p", Description: "Product (Jira, Confluence, Compass)"},
{Name: "--upgrade", Description: "Upgrade an existing installation"},
{Name: "--confirm-scopes", Description: "Skip confirmation of scopes for the app before installing or upgrading the app"},
{Name: "--non-interactive", Description: "Run the command without input prompts"},
{Name: "--fix", Description: "Attempt to automatically fix any issues encountered"},
{Name: "-u", Description: "Specify the email to use"},
{Name: "-n", Description: "Number of invocations to return"},
{Name: "-s", Description: "Group logs by invocation ID"},
{Name: "--encrypt", Description: "Encrypt variable"},
{Name: "-V", Description: "Output the version number"},
},
})
}