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
This commit is contained in:
VERSE
2026-07-04 22:08:36 +07:00
committed by GitHub
parent ffa336196a
commit 2ef3c90819
482 changed files with 22971 additions and 5 deletions
+36
View File
@@ -0,0 +1,36 @@
package ops
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "coda",
Description: "Coda CLI - interact with Coda docs and tables",
Subcommands: []core.Subcommand{
{Name: "init", Description: "Initialize an empty project with the recommended settings and dependencies"},
{Name: "execute", Description: "Execute the formula and print the output to the terminal"},
{Name: "formula", Description: "Formula name to execute"},
{Name: "params", Description: "Arguments to pass to the formula"},
{Name: "url", Description: "The URL to sync from"},
{Name: "apiToken", Description: "The API token to register"},
{Name: "name", Description: "The desired Pack name"},
{Name: "description", Description: "The Pack description"},
{Name: "upload", Description: "Use this command to upload a new version of your Pack based on your latest code"},
{Name: "release", Description: "Release a Pack version and make it live for your users"},
{Name: "whoami", Description: "Looks up information about the API token that is registered in this environment"},
{Name: "build", Description: "Generate a bundle for your Pack"},
{Name: "validate", Description: "Validate your Pack definition"},
{Name: "option", Description: "Currently the only supported option is 'timerStrategy'"},
{Name: "value", Description: "Value to set for the option"},
},
Options: []core.Option{
{Name: "--dynamicUrl", Description: "The URL to sync from"},
{Name: "--name", Description: "The desired Pack name"},
{Name: "--description", Description: "The Pack description"},
{Name: "--version", Description: "Show version number"},
{Name: "--help", Description: "Show help"},
},
})
}