vyuh_cli 0.0.2 copy "vyuh_cli: ^0.0.2" to clipboard
vyuh_cli: ^0.0.2 copied to clipboard

A command-line interface for the Vyuh Framework to generate Vyuh projects, features and schemas.

Vyuh Logo

Vyuh Framework

Build Modular, Scalable, CMS-driven Flutter Apps

Docs | Website

vyuh_cli #

A command-line interface for the Vyuh Framework to generate Vyuh projects from predefined templates.

Documentation 📝 #

For official documentation, please visit https://docs.vyuh.tech/

Quick Start 🚀 #

Installing 🧑‍💻 #

dart pub global activate vyuh

Or install a specific version using:

dart pub global activate vyuh <version>

If you haven't already, you might need to set up your path.

When that is not possible (eg: CI environments), run vyuh commands via:

dart pub global run vyuh_cli:vyuh <command> <args>

Commands ✨ #

Create a Vyuh project in seconds based on the predefined template. Each template has a corresponding sub-command ( e.g.,vyuh create project).

image
Creates Vyuh projects, features, and CMS schemas.

Usage: vyuh create <subcommand> <project-name> [arguments]
-h, --help    Print this usage information.

Available subcommands:
  feature                 A Vyuh feature created by Vyuh CLI.
  schema                  A Vyuh feature CMS schema created by Vyuh CLI.
  project                 A Vyuh Flutter project created by Vyuh CLI.

Run "vyuh help" to see global options.

Usage #

Create projects #

vyuh create project <project-name>

# Create a new Vyuh project named super_app

vyuh create project super_app

A Vyuh Flutter project created by Vyuh CLI.

Usage: vyuh create project <project-name> [arguments]
-h, --help                Print this usage information.
-o, --output-directory    The desired output directory when creating a new project.
    --description         The description for this new project.
                          (defaults to "A Vyuh Flutter project created by Vyuh CLI.")
    --cms                 The content management system for this new project.
                          (defaults to "sanity")
    --org-name            The organization for this new project.
                          (defaults to "com.example.vyuh")
    --application-id      The bundle identifier on iOS or application id on Android. (defaults to <org-name>.<project-name>)

Create features #

vyuh create feature <feature-name>

# Create a new Vyuh feature named super_feature
vyuh create feature super_feature
A Vyuh feature created by Vyuh CLI.

Usage: vyuh create feature <feature-name> [arguments]
-h, --help                Print this usage information.
-o, --output-directory    The desired output directory when creating a new feature.

Create schemas #

vyuh create schema <feature-name>

# Create a new Vyuh feature CMS schema named super_feature_schema
vyuh create schema super_schema
A Vyuh feature CMS schema created by Vyuh CLI.

Usage: vyuh create schema <feature-name> [arguments]
-h, --help                Print this usage information.
-o, --output-directory    The desired output directory when creating a new feature.
    --cms                 The content management system for this new schema.
                          (defaults to "sanity")

Contact #

Follow us, stay up to date or reach out on:

License #

FSL Licensed.

6
likes
0
pub points
0%
popularity

Publisher

verified publishervyuh.tech

A command-line interface for the Vyuh Framework to generate Vyuh projects, features and schemas.

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #vyuh #codegen #template #flutter

License

unknown (license)

Dependencies

args, cli_completion, mason, mason_logger, meta, path, pub_updater, universal_io, yaml_edit

More

Packages that depend on vyuh_cli