Skip to content

Add "run" command to juno --help #497

@peterpeterparker

Description

@peterpeterparker

Motivation

The juno run doesn't surface in the main help of the CLI.

❯ juno --help

  __  __ __  __  _  ____ 
__) ||  |  ||  \| |/    \
\___/ \___/ |_|\__|\____/ CLI v0.14.3


Usage: juno <command>

Commands:
  config              Manage your project configuration
  emulator            Handle tasks related to the emulator like starting/stopping a local network.
  functions           Build and upgrade your satellite's serverless functions.
  help                Display help information.
  hosting             Deploy or clear the frontend code of your app on your satellite.
  login               Generate an authentication for use in non-interactive environments.
  logout              Log out of the current device. ⚠️  This action does not remove the access keys from the module.
  open                Open your satellite in your browser.
  snapshot            Handle snapshot-related tasks.
  start               Start a module.
  stop                Stop a module.
  status              Check the status of the modules.
  upgrade             Upgrade a module to a new version.
  version             Manage version related tasks.
  whoami              Display your current profile, access key, and links to your satellite.
  
Options:
  --headless          Run the CLI in non-interactive mode (enabled automatically if JUNO_TOKEN is set).

What to do

We should list the command.

Notes

juno run --help already works out

❯ juno run --help
  __  __ __  __  _  ____ 
__) ||  |  ||  \| |/    \
\___/ \___/ |_|\__|\____/ CLI v0.14.3

Run a custom script in the CLI context.

Usage: juno run [options]

Options:
  -s, --src             The path to your JavaScript or TypeScript script.
  -m, --mode            Choose which environment to use (production, staging, development). Defaults to production if omitted.
  -p, --profile         Specify an optional profile to use (e.g. personal, team). Useful when managing multiple Mission Controls.
  --container-url       Override a custom container URL. If not provided, defaults to production or the local container in development mode.
  -h, --help            Output usage information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions