frontend/packages/cli/README.md
CLI tool for Astron RPA development.
You can install this package globally or locally in your project.
# Global installation
npm install -g @rpa/cli
# or
pnpm add -g @rpa/cli
# Local installation
npm install @rpa/cli --save-dev
# or
pnpm add @rpa/cli -D
rpa devStart the development server.
rpa dev
rpa buildBuild the library for production.
Options:
-w, --watch: Turn on watch mode, watch for changes and rebuild.rpa build
# Build with watch mode
rpa build --watch
rpa createCreate a new plugin template.
Options:
-n, --name [name]: Plugin name.-t, --target [dir]: Target directory to scaffold into.If options are not provided, an interactive prompt will guide you.
rpa create
# or specify arguments
rpa create --name my-plugin --target ./packages/my-plugin
--debug [feat]: Show debug logs.--help: Show help information.--version: Show version number.If you are developing this CLI package itself:
# Install dependencies
pnpm install
# Build the CLI
pnpm build
# Run type check
pnpm typecheck
# Watch mode for development
pnpm dev
ISC