oydacli 2.1.3 copy "oydacli: ^2.1.3" to clipboard
oydacli: ^2.1.3 copied to clipboard

oydacli is a tool designed to streamline the creation and management of Oyda projects. This tool automates the setup process, including creating project directories, initializing Dart and Flutter file [...]

oydacli #

oydacli is a command-line application designed to streamline the creation of new Oyda projects. It automates the setup process, including the creation of project directories, initialization of Dart and Flutter files, and configuration of environment variables for database connections.

Features #

  • Project Initialization: Automatically generates a new project structure, including necessary directories (lib/, test/) and starter files (main.dart, widget_test.dart, README.md).

  • Database Configuration: Sets up a .env file with database connection parameters (host, port, oydaBase, user, password), facilitating easy and secure access to your Oyda database.

  • Read-Only Configuration: Makes the pubspec.yaml file read-only to prevent accidental modifications that could affect project dependencies and settings.

Getting Started #

To create a new Oyda project, ensure you have Dart installed and run the following command:

oydacli create --projectName <project_name> --host <host_name> --port 5432 --oydaBase <database_name> --user <user_name> --password <password>

Make sure to replace <project_name>, <host_name>, <port>, <database_name>, <username>, and <password> with your specific project and database details.

Requirements #

  • Dart SDK
  • Flutter (optional, if you plan to use Flutter in your project)

For more information on how to install Dart and Flutter, visit the official Dart and Flutter documentation.

0
likes
140
points
123
downloads

Publisher

unverified uploader

Weekly Downloads

oydacli is a tool designed to streamline the creation and management of Oyda projects. This tool automates the setup process, including creating project directories, initializing Dart and Flutter files, and configuring environment variables for database connections. By simplifying these steps, oydacli ensures a smooth and efficient workflow for developers working with the framework.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, dotenv, flutter_dotenv, http, mockito, oydadb, path, yaml_magic

More

Packages that depend on oydacli