serinus_cli 2.1.6 copy "serinus_cli: ^2.1.6" to clipboard
serinus_cli: ^2.1.6 copied to clipboard

The official CLI of the Serinus Framework. It allows you to create, build, and manage Serinus projects.

Changelog #

2.1.6 #

  • chore: update dependencies.
  • fix: align the constructor of the generated controllers with the new version of the framework, removing the path named parameter and replacing it with a positional parameter. This change ensures that the generated code is compatible with the latest version of the Serinus framework and follows the updated conventions for defining controller paths. The constructor now directly calls super('/${itemName.getSnakeCase()}') to set the path for the controller without using a named parameter.

2.1.5 #

  • fix: improve check for globs and relative paths to ensure hot restart functionality works correctly when using the run command with the --dev option. This includes normalizing paths for Windows and ensuring that changes to .dart files are properly detected and trigger a restart of the application.

2.1.4 #

  • fix: add a existence check for the event path in the run command with dev mode enabled to prevent the CLI from crashing when the event path does not exist. This ensures that the CLI can still run even if the event path is missing, and it will simply skip watching for events instead of throwing an error.

2.1.3 #

  • feat: add --template option to the create command to allow users to specify a custom template for project generation. The option accepts a path to a local directory containing the template or a URL to a remote repository. If the option is not provided, the CLI will use the default template included in the package. This changes the previous --plugin option, which is now removed.

2.1.2 #

  • feat(#230): add extra_paths configuration option to the models command to specify additional directories that should be included in the model generation process.

2.1.1 #

  • fix: module generation now works correctly

2.1.0 #

  • feat: add Agents command to the CLI to create AGENTS.md and CLAUDE.md files in the project.

2.0.4 #

  • fix: ignore sigterm in Windows when killing the process tree.

2.0.3 #

  • chore: update dependencies.

2.0.2 #

  • fix(#211): ignore non-dart files when generating models.

2.0.1 #

  • fix(#201): fix config parsing when dependencies entries are nested map instead of simple strings. #202 by francescovallone

2.0.0 #

  • Updated serinus_cli to be compatible with serinus version 2.x.x.

1.0.13 #

  • fix: properly kill the process tree in Windows when using the run command in the CLI. #192 by mdex-geek

1.0.12 #

  • feat: add whitelist of files to watch & make .dart files watched by default

1.0.11 #

  • fix: remove runInShell from Process.start in run command

1.0.10 #

  • fix: remove --enable-vm-service from run command

1.0.9 #

  • fix(#189): await for Process.exitCode after killing the process in Linux and MacOS. #190 by francescovallone

1.0.8 #

  • fix(#187): debounce the events executing only the last one.

1.0.7 #

  • fix(cli_warning_port): remove default value from port when using cli, remove warnings regarding missing config.

1.0.6 #

  • fix(#180): Prevent the cli from overwriting already existing files when running the generate command.

1.0.5 #

  • fix(#177): Fix the Dockerfile generation to create the dist folder in the correct location.

1.0.4 #

  • Remove useless print

1.0.3 #

  • Add --force option to the create command to force the generation of the files even if they already exist.

1.0.2 #

  • Update dependencies to the latest version.
  • Update required Dart version to >= 3.5.0.
  • Fix the run command and improved the how the cli reads the configuration.

1.0.1 #

  • Update dependencies to the latest version.
  • Fix generate command for the resources.

1.0.0 #

  • Update the CLI to use the new version of the Serinus framework.
  • Add generate models command to the CLI.
  • Update generate command to be easier to use.
  • Add generate client command to the CLI.
  • Add deprecation warning for the old configuration file.

0.4.0 #

  • Add generate command to the CLI.

0.3.0 #

  • Add deploy command to the CLI. (#10)

0.2.3 #

  • Re-add the dynamic fetch of the serinus version in the create command.

0.2.2 #

  • Fix the create command.

0.2.1 #

  • Fix the create command to use the pre and post gen hooks.

0.2.0 #

  • Add build command to the CLI.

0.1.0-dev.1 #

  • First release of the cli after the refactor of the whole framework.
  • Usage of Bricks from the serinus-bricks package.

0.0.1 #

First release still in development and not ready for production use.

2
likes
160
points
260
downloads

Documentation

API reference

Publisher

verified publisherserinus.app

Weekly Downloads

The official CLI of the Serinus Framework. It allows you to create, build, and manage Serinus projects.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

analyzer, args, cli_completion, code_builder, dart_style, glob, http, mason, mason_logger, meta, path, pub_updater, watcher, yaml

More

Packages that depend on serinus_cli