Pub Command

Work with packages in a Rapid environment.

rapid pub <subcommand>

This should be used instead of dart pub or flutter pub. It will behave similarly to their native counterparts but also do some additional work required in the context of a Rapid project, mainly rebootstraping dependent packages.

Subcommands

Pub Add command

Add packages in a Rapid environment.

rapid pub add [dev:]<package>[:descriptor] [[dev:]<package>[:descriptor] ...]

Parameters

--package (-p)

  • Description: The package where the command is run.
  • Type: String
  • Required: Yes