SAM-CLI
My Personal CLI
Usage
$ npm install -g @andresmorelos/sam
$ sam COMMAND
running command...
$ sam (-v|--version|version)
@andresmorelos/sam/0.0.3 darwin-x64 node-v12.16.2
$ sam --help [COMMAND]
USAGE
$ sam COMMAND
...
Commands
sam autocomplete [SHELL]
display autocomplete installation instructions
USAGE
$ sam autocomplete [SHELL]
ARGUMENTS
SHELL shell type
OPTIONS
-r, --refresh-cache Refresh cache (ignores displaying instructions)
EXAMPLES
$ sam autocomplete
$ sam autocomplete bash
$ sam autocomplete zsh
$ sam autocomplete --refresh-cache
See code: @oclif/plugin-autocomplete
sam aws:create
Create an Amazon Credential Profile in your credential file
USAGE
$ sam aws:create
EXAMPLE
$ dev-cli aws:create
See code: lib/commands/aws/create.js
sam aws:default
Make an existing profile the default
USAGE
$ sam aws:default
EXAMPLES
$ dev-cli aws:default personal-account
$ dev-cli aws:default
See code: lib/commands/aws/default.js
sam aws:delete
Delete an existing profile
USAGE
$ sam aws:delete
EXAMPLES
$ dev-cli aws:delete personal-account
$ dev-cli aws:delete
See code: lib/commands/aws/delete.js
sam aws:list
USAGE
$ sam aws:list
See code: lib/commands/aws/list.js
sam help [COMMAND]
display help for sam
USAGE
$ sam help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
sam plugins
list installed plugins
USAGE
$ sam plugins
OPTIONS
--core show core plugins
EXAMPLE
$ sam plugins
See code: @oclif/plugin-plugins
sam plugins:install PLUGIN...
installs a plugin into the CLI
USAGE
$ sam plugins:install PLUGIN...
ARGUMENTS
PLUGIN plugin to install
OPTIONS
-f, --force yarn install with force flag
-h, --help show CLI help
-v, --verbose
DESCRIPTION
Can be installed from npm or a git url.
Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.
ALIASES
$ sam plugins:add
EXAMPLES
$ sam plugins:install myplugin
$ sam plugins:install https://github.com/someuser/someplugin
$ sam plugins:install someuser/someplugin
See code: @oclif/plugin-plugins
sam plugins:link PLUGIN
links a plugin into the CLI for development
USAGE
$ sam plugins:link PLUGIN
ARGUMENTS
PATH [default: .] path to plugin
OPTIONS
-h, --help show CLI help
-v, --verbose
DESCRIPTION
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.
EXAMPLE
$ sam plugins:link myplugin
See code: @oclif/plugin-plugins
sam plugins:uninstall PLUGIN...
removes a plugin from the CLI
USAGE
$ sam plugins:uninstall PLUGIN...
ARGUMENTS
PLUGIN plugin to uninstall
OPTIONS
-h, --help show CLI help
-v, --verbose
ALIASES
$ sam plugins:unlink
$ sam plugins:remove
See code: @oclif/plugin-plugins
sam plugins:update
update installed plugins
USAGE
$ sam plugins:update
OPTIONS
-h, --help show CLI help
-v, --verbose
See code: @oclif/plugin-plugins