CLI Commands

Here are the following commands that the op currently supports

Account-related commands:

  • ops account:reset
  • ops account:signin
  • ops account:signout
  • ops account:signup
  • ops account:support
  • ops update
  • ops whoami

Op-related commands:

  • ops build [PATH]
  • ops cleanup [OPNAME]
  • ops help [COMMAND]
  • ops init
  • ops publish [PATH]
  • ops remove [OPNAME]
  • ops run [NAMEORPATH]
  • ops search [FILTER]

Team-related commands:

  • ops team:create
  • ops team:invite
  • ops team:join
  • ops team:switch

ops account:reset

Resets your password.

USAGE
$ ops account:reset

ops account:signin

Logs in to your account.

USAGE
$ ops account:signin

OPTIONS
-e, --email=email Email
-h, --help show CLI help
-p, --password=password Password

ops account:signout

Log out from your account.

USAGE
$ ops account:signout

OPTIONS
-h, --help show CLI help

ops account:signup

Creates an account to use with ops CLI.

USAGE
$ ops account:signup

OPTIONS
-h, --help show CLI help

ops account:support

Contact our support team with questions.

USAGE
$ ops account:support

OPTIONS
-h, --help show CLI help

ops build [PATH]

Build your op for sharing.

USAGE
$ ops build [PATH]

ARGUMENTS
PATH Path to the op you want to build.

OPTIONS
-h, --help show CLI help

ops cleanup [OPNAME]

Clean up locally cached docker images.

USAGE
$ ops cleanup [OPNAME]

ARGUMENTS
OPNAME Name of the op to be cleaned up

OPTIONS
-h, --help show CLI help

ops help [COMMAND]

display help for ops

USAGE
$ ops help [COMMAND]

ARGUMENTS
COMMAND command to show help for

OPTIONS
--all see all commands in CLI

ops init

Easily create a new op.

USAGE
$ ops init

OPTIONS
-d, --description=description Description of the op.
-h, --help show CLI help
-n, --name=name Name of the op.

ops publish [PATH]

Publish an op to a team.

USAGE
$ ops publish [PATH]

ARGUMENTS
PATH Path to the op you want to publish.

OPTIONS
-h, --help show CLI help

ops remove [OPNAME]

Remove an op from a team.

USAGE
$ ops remove [OPNAME]

ARGUMENTS
OPNAME Name of the op you want to remove.

OPTIONS
-h, --help show CLI help

ops run [NAMEORPATH]

Run an op from the registry.

USAGE
$ ops run [NAMEORPATH]

ARGUMENTS
NAMEORPATH Name or path of the op you want to run.

OPTIONS
-b, --build Builds the op before running. Must provide a path to the op.
-h, --help show CLI help

ops search [FILTER]

Search for ops in your workspaces.

USAGE
$ ops search [FILTER]

ARGUMENTS
FILTER Filters op results which include filter text in op name or description.

OPTIONS
-h, --help show CLI help

ops team:create

Create your team.

USAGE
$ ops team:create

OPTIONS
-h, --help show CLI help
-n, --name=name

ops team:invite

Invite your team members.

USAGE
$ ops team:invite

OPTIONS
-h, --help show CLI help

-i, --inviteesInput=inviteesInput A comma-separated string of usernames/emails we want to invite. E.g. ("user1,
user2@gmail.com, user3@something")

ops team:join

Accept an invite to join a team.

USAGE
$ ops team:join

ops team:switch

Shows the list of your teams.

USAGE
$ ops team:switch

OPTIONS
-h, --help show CLI help

ops update

Update the ops CLI.

USAGE
$ ops update

OPTIONS
-h, --help show CLI help

ops whoami

Display your user information

USAGE
$ ops whoami

OPTIONS
-h, --help show CLI help