New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@myask-io/cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myask-io/cli

MyAsk CLI allows users to interact with the MyAsk API directly from their local command line massively streamlining programmer workflow

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

MyAsk CLI

MyAsk CLI allows users to interact with the MyAsk API directly from their local command line massively streamlining programmer workflow

MyAsk Logo

oclif Version Downloads/week

  • Usage
  • Commands

Usage

$ npm install -g @myask-io/cli
$ myask-js COMMAND
running command...
$ myask-js (--version)
@myask-io/cli/0.0.4 darwin-arm64 node-v22.14.0
$ myask-js --help [COMMAND]
USAGE
  $ myask-js COMMAND
...

Commands

myask-js api:invitation:create [EMAIL]

Send MyAsk invitation to a new user.

USAGE
  $ myask-js api:invitation:create [EMAIL]

ARGUMENTS
  EMAIL  Email of the user to invite to MyAsk

DESCRIPTION
  Send MyAsk invitation to a new user.

See code: src/commands/api/invitation/create.ts

myask-js api:invitation:list

Show sent MyAsk invitations.

USAGE
  $ myask-js api:invitation:list

DESCRIPTION
  Show sent MyAsk invitations.

See code: src/commands/api/invitation/list.ts

myask-js api:project:create

Create new project in MyAsk API

USAGE
  $ myask-js api:project:create [--name <value>] [--description <value>]

FLAGS
  --description=<value>  Project description
  --name=<value>         Project name

DESCRIPTION
  Create new project in MyAsk API

See code: src/commands/api/project/create.ts

myask-js api:project:delete [PROJECTID]

Delete MyAsk project

USAGE
  $ myask-js api:project:delete [PROJECTID] [--list] [-p <value>]

ARGUMENTS
  PROJECTID  ID of project to delete

FLAGS
  -p, --projectId=<value>  ID of project to delete
      --list               List projects and select to delete

DESCRIPTION
  Delete MyAsk project

See code: src/commands/api/project/delete.ts

myask-js api:project:set

List users projects and set active project in MyAsk config.

USAGE
  $ myask-js api:project:set

DESCRIPTION
  List users projects and set active project in MyAsk config.

See code: src/commands/api/project/set.ts

myask-js api:project:show [PROJECTID]

Show information for MyAsk project

USAGE
  $ myask-js api:project:show [PROJECTID] [--list] [-p <value>]

ARGUMENTS
  PROJECTID  ID of project to display

FLAGS
  -p, --projectId=<value>  ID of project to display
      --list               List projects and select to view

DESCRIPTION
  Show information for MyAsk project

See code: src/commands/api/project/show.ts

myask-js api:project:update

Update project information in MyAsk API

USAGE
  $ myask-js api:project:update

DESCRIPTION
  Update project information in MyAsk API

See code: src/commands/api/project/update.ts

myask-js api:question:delete [QUESTIONID]

Delete MyAsk question

USAGE
  $ myask-js api:question:delete [QUESTIONID] [--list] [-p <value>]

ARGUMENTS
  QUESTIONID  ID of question to delete

FLAGS
  -p, --questionId=<value>  ID of question to delete
      --list                List questions and select to delete

DESCRIPTION
  Delete MyAsk question

See code: src/commands/api/question/delete.ts

myask-js api:question:show [QUESTIONID]

Show details for MyAsk question

USAGE
  $ myask-js api:question:show [QUESTIONID] [--list] [-q <value>] [-s]

ARGUMENTS
  QUESTIONID  ID of question to display

FLAGS
  -q, --questionId=<value>  ID of question to display
  -s, --skipResponse        Do not include question response in output
      --list                List questions and select to view

DESCRIPTION
  Show details for MyAsk question

See code: src/commands/api/question/show.ts

myask-js config

View current or set new MyAsk configuration values.

USAGE
  $ myask-js config [-h <value>] [-t <value>]

FLAGS
  -h, --host=<value>   Set API base URL
  -t, --token=<value>  Set MyAsk API key

DESCRIPTION
  View current or set new MyAsk configuration values.

See code: src/commands/config.ts

myask-js help [COMMAND]

Display help for myask-js.

USAGE
  $ myask-js 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 myask-js.

See code: @oclif/plugin-help

myask-js info

Display current project and configuration information.

USAGE
  $ myask-js info

DESCRIPTION
  Display current project and configuration information.

See code: src/commands/info.ts

myask-js init

Initialize MyAsk CLI.

USAGE
  $ myask-js init

DESCRIPTION
  Initialize MyAsk CLI.

See code: src/commands/init.ts

myask-js plugins

List installed plugins.

USAGE
  $ myask-js plugins [--json] [--core]

FLAGS
  --core  Show core plugins.

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  List installed plugins.

EXAMPLES
  $ myask-js plugins

See code: @oclif/plugin-plugins

myask-js plugins:add PLUGIN

Installs a plugin into myask-js.

USAGE
  $ myask-js 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 myask-js.

  Uses npm to install plugins.

  Installation of a user-installed plugin will override a core plugin.

  Use the MYASK_JS_NPM_LOG_LEVEL environment variable to set the npm loglevel.
  Use the MYASK_JS_NPM_REGISTRY environment variable to set the npm registry.

ALIASES
  $ myask-js plugins:add

EXAMPLES
  Install a plugin from npm registry.

    $ myask-js plugins:add myplugin

  Install a plugin from a github url.

    $ myask-js plugins:add https://github.com/someuser/someplugin

  Install a plugin from a github slug.

    $ myask-js plugins:add someuser/someplugin

myask-js plugins:inspect PLUGIN...

Displays installation properties of a plugin.

USAGE
  $ myask-js 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
  $ myask-js plugins:inspect myplugin

See code: @oclif/plugin-plugins

myask-js plugins:install PLUGIN

Installs a plugin into myask-js.

USAGE
  $ myask-js 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 myask-js.

  Uses npm to install plugins.

  Installation of a user-installed plugin will override a core plugin.

  Use the MYASK_JS_NPM_LOG_LEVEL environment variable to set the npm loglevel.
  Use the MYASK_JS_NPM_REGISTRY environment variable to set the npm registry.

ALIASES
  $ myask-js plugins:add

EXAMPLES
  Install a plugin from npm registry.

    $ myask-js plugins:install myplugin

  Install a plugin from a github url.

    $ myask-js plugins:install https://github.com/someuser/someplugin

  Install a plugin from a github slug.

    $ myask-js plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

Links a plugin into the CLI for development.

USAGE
  $ myask-js 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
  $ myask-js plugins:link myplugin

See code: @oclif/plugin-plugins

myask-js plugins:remove [PLUGIN]

Removes a plugin from the CLI.

USAGE
  $ myask-js 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
  $ myask-js plugins:unlink
  $ myask-js plugins:remove

EXAMPLES
  $ myask-js plugins:remove myplugin

myask-js plugins:reset

Remove all user-installed and linked plugins.

USAGE
  $ myask-js 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

myask-js plugins:uninstall [PLUGIN]

Removes a plugin from the CLI.

USAGE
  $ myask-js 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
  $ myask-js plugins:unlink
  $ myask-js plugins:remove

EXAMPLES
  $ myask-js plugins:uninstall myplugin

See code: @oclif/plugin-plugins

Removes a plugin from the CLI.

USAGE
  $ myask-js 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
  $ myask-js plugins:unlink
  $ myask-js plugins:remove

EXAMPLES
  $ myask-js plugins:unlink myplugin

myask-js plugins:update

Update installed plugins.

USAGE
  $ myask-js plugins:update [-h] [-v]

FLAGS
  -h, --help     Show CLI help.
  -v, --verbose

DESCRIPTION
  Update installed plugins.

See code: @oclif/plugin-plugins

myask-js prompt [PROMPT]

Send a prompt to MyAsk API and retrieve a response.

USAGE
  $ myask-js prompt [PROMPT] [-p <value>] [-F <value>...] [-c <value>...]

ARGUMENTS
  PROMPT  Prompt to send

FLAGS
  -F, --inputFile=<value>...   Path to source file(s). (multiple)
  -c, --contextIds=<value>...  Comma-separated list of context question IDs
  -p, --prompt=<value>         Prompt to send

DESCRIPTION
  Send a prompt to MyAsk API and retrieve a response.

EXAMPLES
  $ myask-js prompt -p "How do I add ActiveAdmin to a Rails 7 app?"

  $ myask-js prompt -p "Refactor this file" -F path/to/src/file.ts

  $ myask-js prompt -F path/to/input.txt

  $ myask-js prompt -p "Help me combine these files:" -F path/to/file1.ts -F path/to/file2.ts

  $ myask-js prompt -p "Analyze this code" -c 123,456,789

See code: src/commands/prompt.ts

Keywords

oclif

FAQs

Package last updated on 23 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts