@sodacore/cli
Version:
Sodacore CLI is a plugin that offers CLI functionality within the framework.
122 lines (86 loc) โข 5.2 kB
Markdown
<br/>
<div align="center">
<a href="https://github.com/sodacore/core">
<img src="https://sodacore.dev/logo.png" alt="Logo" width="80" height="80">
</a>
<h3 align="center">Sodacore CLI Plugin</h3>
<p align="center">
Sodacore is a bun-powered framework for building server-side applications utilising the lighting fast <a href="https://bun.sh" target="_blank">Bun</a> runtime.<br />The <code>@sodacore/cli</code> package provides a CLI that can be used to interact with your Sodacore application.
<br/>
<br/>
<a href="https://sodacore.dev"><strong>Explore the docs ยป</strong></a>
<br/>
<br/>
<!-- <a href="https://www.makeread.me/">View Demo .</a> -->
<a href="https://github.com/sodacore/core/issues/new?labels=bug&template=bug_report.md">Report Bug</a>
โฌ
<a href="https://github.com/sodacore/core/issues/new?labels=enhancement&&template=feature_request.md">Request Feature</a>
</p>
</div>
[](https://github.com/sodacore/core/graphs/contributors)
[](https://github.com/sodacore/core/issues)
[](https://github.com/sodacore/core/blob/main/LICENSE)
[](https://www.npmjs.com/package/@sodacore/core)
[](https://github.com/sodacore/core/releases)
[](https://bun.sh)
## Table of Contents
- [Table of Contents](#table-of-contents)
- [About The Project](#about-the-project)
- [Built With](#built-with)
- [Getting Started](#getting-started)
- [CLI Setup](#cli-setup)
- [Manual setup](#manual-setup)
- [Roadmap](#roadmap)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)
- [Acknowledgments](#acknowledgments)
## About The Project
Sodacore is a [Bun](https://bun.sh) powered framework for writing server-side applications in record time. The framework follows a controller pattern, utilising plugins as the core means for extending the framework.
Sodacore comes with a lot of great features:
- ๐ง Autowiring by default
- ๐งฉ Dependency injection
- ๐งช Plugin system
- ๐ฆ Core maintained plugins, i.e. http, ws, di, etc.
- ๐ Clean and simple logger that can be extended.
- ๐ Built-in documentation
- ๐งต Easy Threading and worker support.
- ๐ฅ๏ธ Create package for quick boilerplating.
- ๐๏ธ CLI for managing your application scripts.
The framework is constantly being worked on and improved so suggestions and features are highly appreciated.
> As of right now, we use TypeScript's legacy decorators, this is mostly because the current stage 3 decorators are very limited in functionality (i.e. param decorators) so once they drop support for legacy decorators we will switch, but until then this framework will continue to use them.
### Built With
This project was built with the following core technologies:
- [Bun](https://bun.sh/)
- [TypeScript](https://www.typescriptlang.org/)
## Getting Started
There are two ways of getting started with your project, you can either use our CLI or manually setup your project.
### CLI Setup
To get started with the CLI, you can run the following command:
```bash
bun create @sodacore
```
This will install and launch the command line, it simply asks you about your project, and then installs the packages and writes the files, it will also modify the directory to correctly reflect the Sodacore project structure, see below:
[](https://sodacore.dev/images/sodacore-create.svg)
### Manual setup
To setup your project manually, please follow the this [guide](https://sodacore.dev/docs/guide/quickstart.html#manually).
## Roadmap
Our roadmap is published on our documentation site [here](https://sodacore.dev/about/roadmap.html).
## Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a star! Thanks again!
1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m "Add some AmazingFeature"`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request
## License
Distributed under the Apache-2.0 license.
## Contact
If you have any questions or suggestions, feel free to reach out to us:
- Raise an issue on the repository: [GitHub Repository](https://github.com/sodacore/core)
- Connect with us on [Discord](https://discord.gg/CgumPyVr6X)
## Acknowledgments
A special thanks to the following for their contributions, helpful projects, support and inspiration:
- [makeread.me](https://makeread.me/) - README Template Generator.