7.1.6 • Published 10 months ago

@aragon/cli v7.1.6

Weekly downloads
47
License
AGPL-3.0
Repository
-
Last release
10 months ago

Aragon

Aragon OSx CLI

Aragon OSx CLI is a command line tool supporting your plugin development process. It helps developers build, deploy, and publish plugins faster and easier.

Quick Start

You can install the Aragon OSx CLI globally via npm:

npm install -g @aragon/cli

Then, you will be able to run commands using this format:

aragon [command] [options]

Alternatively - you can use the CLI without installing it locally in your device, by using npx:

npx @aragon/cli [command] [options]

Commands

The Aragon OSx CLI contains several commands to help you develop plugins. All arguments are optional, each command will prompt for any arguments that were omitted in the command line.

deploy

The deploy command deploys your Plugin Setup contract to whichever chain you determine.

Usage

aragon deploy [contract-name] [options]

Options

OptionDescriptionExample
-b, --buildFull path to project build/Users/main/plugin-repo/artifacts
-n, --networkNetwork to deploy to. Choices: mainnet, polygon, goerli, mumbaimainnet
-s, --simulateSimulate deployment

publish

The publish command publishes your plugin to the Aragon OSx protocol. Under the hood, this is creating a PluginRepo instance for your plugin with its first version. If you'd like to learn more about what publishing a plugin into Aragon OSx means, check out our guide here.

Usage

aragon publish [contract-address] [options]

Options

OptionDescriptionExample
-n, --networkNetwork to publish to. Choices: mainnet, polygon, goerli, mumbaimainnet
-s, --subdomainSubdomain for pluginmy-plugin
-b, --buildPath to build metadata/path/to/build.json
-r, --releasePath to release metadata/path/to/release.json
-m, --maintainerMaintainer address0x...
--simulateSimulate publishing

settings set-pk

Store a new private key for signing transactions.

aragon settings set-pk [private-key]

settings set-tenderly

Store a new Tenderly project and API key configuration. Checkout this link if your not sure how to find your settings

settings set-tenderly

settings view

View current public key, private key hash, and Tenderly configuration.

aragon settings view

Developing the CLI

This project is intended to be used with the latest Active LTS release of Node.js.

To clone the repository, use the following commands:

git clone https://github.com/aragon/cli
cd cli
yarn install

In one terminal, run the build in watch mode through using the following command:

yarn build:watch

In another terminal, run the CLI using the following command:

yarn dev

Available Scripts

  • dev - build & run the cli
  • clean - remove coverage data, vitest cache and transpiled files
  • prebuild - lint source files and tests before building
  • build - transpile TypeScript to ES6
  • build:watch - interactive watch mode to automatically transpile source files
  • lint - lint source files and tests
  • prettier - reformat files
  • test - run tests
  • test:watch - interactive watch mode to automatically re-run tests
1.0.0

10 months ago

7.1.6

4 years ago

7.1.5

4 years ago

7.1.4

4 years ago

7.1.3

4 years ago

7.1.2

4 years ago

7.1.1

4 years ago

7.1.0

4 years ago

7.0.4

4 years ago

7.0.3

4 years ago

7.0.2

4 years ago

7.0.1

4 years ago

7.0.0

4 years ago

7.0.0-beta.13

4 years ago

7.0.0-beta.12

4 years ago

7.0.0-beta.11

4 years ago

7.0.0-beta.10

4 years ago

7.0.0-beta.9

4 years ago

7.0.0-beta.7

4 years ago

7.0.0-beta.8

4 years ago

7.0.0-beta.6

4 years ago

7.0.0-beta.5

4 years ago

7.0.0-beta.4

4 years ago

7.0.0-beta.3

4 years ago

7.0.0-beta.2

4 years ago

7.0.0-beta.1

4 years ago

6.4.4

4 years ago

6.4.3

4 years ago

6.4.2

4 years ago

6.4.1

4 years ago

6.4.0

4 years ago

6.3.3

5 years ago

6.3.2

5 years ago

6.3.1

5 years ago

6.3.0

5 years ago

6.2.6

5 years ago

6.2.5

5 years ago

6.2.4

5 years ago

6.2.3

5 years ago

6.2.2

5 years ago

6.2.1

5 years ago

6.2.0

5 years ago

6.1.1

5 years ago

6.1.0

5 years ago

5.9.7

5 years ago

6.0.5

5 years ago

6.0.4

5 years ago

6.0.3

5 years ago

6.0.2

5 years ago

6.0.1

5 years ago

6.0.0

5 years ago

5.10.0

5 years ago

5.9.6

5 years ago

5.9.5

5 years ago

5.9.4

5 years ago

5.9.3

5 years ago

5.9.2

5 years ago

5.9.1

5 years ago

5.9.0

5 years ago

5.8.0

5 years ago

5.7.2

5 years ago

5.7.1

5 years ago

5.7.0

5 years ago

5.6.2

5 years ago

5.6.1

5 years ago

5.6.0

5 years ago

5.5.0

5 years ago

5.4.0

5 years ago

5.4.0-beta.2

5 years ago

5.4.0-beta.1

5 years ago

5.3.3

5 years ago

5.2.3

5 years ago

5.3.2

5 years ago

5.3.0

5 years ago

5.2.2

5 years ago

5.2.1

5 years ago

5.2.0

6 years ago

5.2.0-beta.4

6 years ago

5.2.0-beta.3

6 years ago

5.2.0-beta.2

6 years ago

5.2.0-beta.1

6 years ago

5.1.1

6 years ago

5.1.0

6 years ago

5.0.0

6 years ago

5.0.0-rc.2

6 years ago

5.0.0-rc.1

6 years ago

4.2.3

6 years ago

4.2.2

6 years ago

4.2.1

6 years ago

4.2.0

6 years ago

4.1.6

6 years ago

4.1.5

6 years ago

4.1.4

6 years ago

4.1.3

6 years ago

4.1.2

6 years ago

4.1.1

6 years ago

4.1.0

6 years ago

4.1.0-beta.3

6 years ago

4.1.0-beta.2

6 years ago

4.1.0-beta.1

6 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

4.0.0-rc.14

6 years ago

4.0.0-rc.13

6 years ago

4.0.0-rc.11

6 years ago

4.0.0-rc.10

6 years ago

4.0.0-rc.9

6 years ago

4.0.0-rc.8

6 years ago

4.0.0-rc.7

6 years ago

4.0.0-rc.6

6 years ago

4.0.0-rc.5

6 years ago

4.0.0-rc.3

6 years ago

4.0.0-rc.2

6 years ago

4.0.0-rc.1

6 years ago

3.0.0-beta.6

6 years ago

3.0.0-beta.5

6 years ago

3.0.0-beta.4

6 years ago

3.0.0-beta.3

6 years ago

3.0.0-beta.2

6 years ago

3.0.0-beta.1

6 years ago

2.2.0

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago