- 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
30 lines
1.4 KiB
Go
30 lines
1.4 KiB
Go
package sys
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "pro",
|
|
Description: "Manage Ubuntu Pro services from Canonical",
|
|
Subcommands: []core.Subcommand{
|
|
{Name: "attach", Description: "Connect an Ubuntu Pro support contract to this machine"},
|
|
{Name: "collect-logs", Description: "Create a tarball with all relevant logs and debug data"},
|
|
{Name: "detach", Description: "Remove Ubuntu Pro from this machine"},
|
|
{Name: "disable", Description: "Disable this machine's access to an Ubuntu Pro service"},
|
|
{Name: "enable", Description: "Activate and configure this machine's access to an Ubuntu Pro service"},
|
|
{Name: "fix", Description: "Fix a CVE or USN on the system by upgrading the appropriate package(s)"},
|
|
{Name: "refresh", Description: "Refresh contract and service details from Canonical"},
|
|
{Name: "status", Description: "Report current status of Ubuntu Pro services on system"},
|
|
},
|
|
Options: []core.Option{
|
|
{Name: "--no-auto-enable", Description: "Disable the automatic enablement of recommended entitlements"},
|
|
{Name: "--attach-config", Description: "Provide a file with configuration options"},
|
|
{Name: "-o", Description: "Path for tarball. Uses ua_logs.tar.gz in current directory if not specified"},
|
|
{Name: "--format", Description: "Output format"},
|
|
{Name: "--simulate-with-token", Description: "Include beta and unavailable services"},
|
|
},
|
|
})
|
|
}
|