@promactinfo/moa-cli
v0.1.0
Published
Mother of All CLI for AI automation
Readme
moa-cli-core
Mother of All CLI for AI automation
Usage
$ npm install -g @promactinfo/moa-cli
$ moa COMMAND
running command...
$ moa (--version)
@promactinfo/moa-cli/0.1.0 win32-x64 node-v22.21.1
$ moa --help [COMMAND]
USAGE
$ moa COMMAND
...$ npm install -g moa-cli-core
$ moa COMMAND
running command...
$ moa (--version)
moa-cli-core/0.0.0 win32-x64 node-v24.12.0
$ moa --help [COMMAND]
USAGE
$ moa COMMAND
...Commands
moa configmoa config use PROFILEmoa hello PERSONmoa hello worldmoa help [COMMAND]moa login SERVICEmoa logout SERVICEmoa pluginsmoa plugins add PLUGINmoa plugins:inspect PLUGIN...moa plugins install PLUGINmoa plugins link PATHmoa plugins remove [PLUGIN]moa plugins resetmoa plugins uninstall [PLUGIN]moa plugins unlink [PLUGIN]moa plugins update
moa config
Display current configuration and profiles
USAGE
$ moa config [-p <value>]
FLAGS
-p, --profile=<value> Show configuration for specific profile
DESCRIPTION
Display current configuration and profiles
EXAMPLES
$ moa config
$ moa config --profile=client-aSee code: src/commands/config/index.ts
moa config use PROFILE
Switch to a different profile
USAGE
$ moa config use PROFILE
ARGUMENTS
PROFILE Profile name to switch to
DESCRIPTION
Switch to a different profile
EXAMPLES
$ moa config use client-a
$ moa config use defaultSee code: src/commands/config/use.ts
moa hello PERSON
Say hello
USAGE
$ moa hello PERSON -f <value>
ARGUMENTS
PERSON Person to say hello to
FLAGS
-f, --from=<value> (required) Who is saying hello
DESCRIPTION
Say hello
EXAMPLES
$ moa hello friend --from oclif
hello friend from oclif! (./src/commands/hello/index.ts)See code: src/commands/hello/index.ts
moa hello world
Say hello world
USAGE
$ moa hello world
DESCRIPTION
Say hello world
EXAMPLES
$ moa hello world
hello world! (./src/commands/hello/world.ts)See code: src/commands/hello/world.ts
moa help [COMMAND]
Display help for moa.
USAGE
$ moa help [COMMAND...] [-n]
ARGUMENTS
[COMMAND...] Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for moa.See code: @oclif/plugin-help
moa login SERVICE
Authenticate with a SaaS provider
USAGE
$ moa login SERVICE [-p <value>]
ARGUMENTS
SERVICE (hubspot|semrush|meta) SaaS service to authenticate with
FLAGS
-p, --profile=<value> [default: default] Profile name to store credentials under
DESCRIPTION
Authenticate with a SaaS provider
EXAMPLES
$ moa login hubspot
$ moa login hubspot --profile=client-a
$ moa login semrush --profile=agencySee code: src/commands/login/index.ts
moa logout SERVICE
Remove stored credentials for a SaaS provider
USAGE
$ moa logout SERVICE [-f] [-p <value>]
ARGUMENTS
SERVICE (hubspot|semrush|meta) SaaS service to remove credentials for
FLAGS
-f, --force Skip confirmation prompt
-p, --profile=<value> [default: default] Profile name to remove credentials from
DESCRIPTION
Remove stored credentials for a SaaS provider
EXAMPLES
$ moa logout hubspot
$ moa logout hubspot --profile=client-aSee code: src/commands/logout/index.ts
moa plugins
List installed plugins.
USAGE
$ moa plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ moa pluginsSee code: @oclif/plugin-plugins
moa plugins add PLUGIN
Installs a plugin into moa.
USAGE
$ moa plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into moa.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the MOA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the MOA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ moa plugins add
EXAMPLES
Install a plugin from npm registry.
$ moa plugins add myplugin
Install a plugin from a github url.
$ moa plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ moa plugins add someuser/somepluginmoa plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ moa plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ moa plugins inspect mypluginSee code: @oclif/plugin-plugins
moa plugins install PLUGIN
Installs a plugin into moa.
USAGE
$ moa plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into moa.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the MOA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the MOA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ moa plugins add
EXAMPLES
Install a plugin from npm registry.
$ moa plugins install myplugin
Install a plugin from a github url.
$ moa plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ moa plugins install someuser/somepluginSee code: @oclif/plugin-plugins
moa plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ moa plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ moa plugins link mypluginSee code: @oclif/plugin-plugins
moa plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ moa plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
[PLUGIN...] plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ moa plugins unlink
$ moa plugins remove
EXAMPLES
$ moa plugins remove mypluginmoa plugins reset
Remove all user-installed and linked plugins.
USAGE
$ moa plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.See code: @oclif/plugin-plugins
moa plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ moa plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
[PLUGIN...] plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ moa plugins unlink
$ moa plugins remove
EXAMPLES
$ moa plugins uninstall mypluginSee code: @oclif/plugin-plugins
moa plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ moa plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
[PLUGIN...] plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ moa plugins unlink
$ moa plugins remove
EXAMPLES
$ moa plugins unlink mypluginmoa plugins update
Update installed plugins.
USAGE
$ moa plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.See code: @oclif/plugin-plugins
moa hello PERSONmoa hello worldmoa help [COMMAND]moa pluginsmoa plugins add PLUGINmoa plugins:inspect PLUGIN...moa plugins install PLUGINmoa plugins link PATHmoa plugins remove [PLUGIN]moa plugins resetmoa plugins uninstall [PLUGIN]moa plugins unlink [PLUGIN]moa plugins update
moa hello PERSON
Say hello
USAGE
$ moa hello PERSON -f <value>
ARGUMENTS
PERSON Person to say hello to
FLAGS
-f, --from=<value> (required) Who is saying hello
DESCRIPTION
Say hello
EXAMPLES
$ moa hello friend --from oclif
hello friend from oclif! (./src/commands/hello/index.ts)See code: src/commands/hello/index.ts
moa hello world
Say hello world
USAGE
$ moa hello world
DESCRIPTION
Say hello world
EXAMPLES
$ moa hello world
hello world! (./src/commands/hello/world.ts)See code: src/commands/hello/world.ts
moa help [COMMAND]
Display help for moa.
USAGE
$ moa help [COMMAND...] [-n]
ARGUMENTS
[COMMAND...] Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for moa.See code: @oclif/plugin-help
moa plugins
List installed plugins.
USAGE
$ moa plugins [--json] [--core]
FLAGS
--core Show core plugins.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List installed plugins.
EXAMPLES
$ moa pluginsSee code: @oclif/plugin-plugins
moa plugins add PLUGIN
Installs a plugin into moa.
USAGE
$ moa plugins add PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into moa.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the MOA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the MOA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ moa plugins add
EXAMPLES
Install a plugin from npm registry.
$ moa plugins add myplugin
Install a plugin from a github url.
$ moa plugins add https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ moa plugins add someuser/somepluginmoa plugins:inspect PLUGIN...
Displays installation properties of a plugin.
USAGE
$ moa plugins inspect PLUGIN...
ARGUMENTS
PLUGIN... [default: .] Plugin to inspect.
FLAGS
-h, --help Show CLI help.
-v, --verbose
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Displays installation properties of a plugin.
EXAMPLES
$ moa plugins inspect mypluginSee code: @oclif/plugin-plugins
moa plugins install PLUGIN
Installs a plugin into moa.
USAGE
$ moa plugins install PLUGIN... [--json] [-f] [-h] [-s | -v]
ARGUMENTS
PLUGIN... Plugin to install.
FLAGS
-f, --force Force npm to fetch remote resources even if a local copy exists on disk.
-h, --help Show CLI help.
-s, --silent Silences npm output.
-v, --verbose Show verbose npm output.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Installs a plugin into moa.
Uses npm to install plugins.
Installation of a user-installed plugin will override a core plugin.
Use the MOA_NPM_LOG_LEVEL environment variable to set the npm loglevel.
Use the MOA_NPM_REGISTRY environment variable to set the npm registry.
ALIASES
$ moa plugins add
EXAMPLES
Install a plugin from npm registry.
$ moa plugins install myplugin
Install a plugin from a github url.
$ moa plugins install https://github.com/someuser/someplugin
Install a plugin from a github slug.
$ moa plugins install someuser/somepluginSee code: @oclif/plugin-plugins
moa plugins link PATH
Links a plugin into the CLI for development.
USAGE
$ moa plugins link PATH [-h] [--install] [-v]
ARGUMENTS
PATH [default: .] path to plugin
FLAGS
-h, --help Show CLI help.
-v, --verbose
--[no-]install Install dependencies after linking the plugin.
DESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.
EXAMPLES
$ moa plugins link mypluginSee code: @oclif/plugin-plugins
moa plugins remove [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ moa plugins remove [PLUGIN...] [-h] [-v]
ARGUMENTS
[PLUGIN...] plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ moa plugins unlink
$ moa plugins remove
EXAMPLES
$ moa plugins remove mypluginmoa plugins reset
Remove all user-installed and linked plugins.
USAGE
$ moa plugins reset [--hard] [--reinstall]
FLAGS
--hard Delete node_modules and package manager related files in addition to uninstalling plugins.
--reinstall Reinstall all plugins after uninstalling.See code: @oclif/plugin-plugins
moa plugins uninstall [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ moa plugins uninstall [PLUGIN...] [-h] [-v]
ARGUMENTS
[PLUGIN...] plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ moa plugins unlink
$ moa plugins remove
EXAMPLES
$ moa plugins uninstall mypluginSee code: @oclif/plugin-plugins
moa plugins unlink [PLUGIN]
Removes a plugin from the CLI.
USAGE
$ moa plugins unlink [PLUGIN...] [-h] [-v]
ARGUMENTS
[PLUGIN...] plugin to uninstall
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Removes a plugin from the CLI.
ALIASES
$ moa plugins unlink
$ moa plugins remove
EXAMPLES
$ moa plugins unlink mypluginmoa plugins update
Update installed plugins.
USAGE
$ moa plugins update [-h] [-v]
FLAGS
-h, --help Show CLI help.
-v, --verbose
DESCRIPTION
Update installed plugins.See code: @oclif/plugin-plugins
