omni-clied
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

Omni-clied 2.0

logo

Omni (or Omni-CLIed) is a powerful command-line interface (CLI) tool designed to streamline the process of creating fully functional Node.js servers and React.js applications. With Omni, you can generate server-side code that comes prepackaged with essential features like Google OAuth or customizable JSON Web Token (JWT) authentication and user models.

By leveraging Omni's intuitive and efficient CLI commands, developers can rapidly scaffold and initialize new projects, saving valuable time and effort. Whether you're starting a new web application or adding server functionality to an existing project, Omni empowers you to quickly set up secure and scalable server-side infrastructure.

Omni's seamless integration with Node.js and React.js allows developers to effortlessly create the server and client components required for modern web applications. The generated server code includes robust authentication options, such as Google OAuth or the flexibility to implement your own JWT-based authentication system. This makes it easy to authenticate and manage user accounts within your application.

With Omni, you can focus more on building the core features of your application rather than spending time on repetitive setup tasks. By automating the process of generating server-side and client-side code, Omni enables developers to jumpstart their projects and deliver high-quality applications faster.

oclif CircleCI GitHub license

Installation

Ypu can use it directly via npx:

  npx omni-clied node-server create [DIR]

or you can install it either by cloning with git or by npm (recommended)

To install via npm:

	npm i -g omni-clied

And omni-clied will be installed globally to your system path.

With a local installation, omni-clied will not be available in your system path or you can't use it directly from the command line. Instead, the local installation of omni-clied can be run by calling it from within an npm script (such as npm start) or using npx.

To install via yarn:

	yarn global add omni-clied

To clone with git:

	git clone https://github.com/DugarRishab/omni-clied

Usage

omni-clied creates a template based on your choices. Your choices can be passed as flags.

Basic usage:

	omni-clied [the-app-you-want] create [DIR] [options]

To create a node server with google OAuth pre-implemented:

	omni-clied node-server create new-server --google-oauth

This will create a node server named 'new-server' inside the root directory of your terminal. This server will have all functions required for google oAuth2.0.

An empty config.env file will be created inside the server which needs to be filled before running the server.

After the config.env file is updated accordingly, the server can be used as it is or can be used as a template for larger projects.

To see all available commands:

	omni-clied --help

Or to see all available options:

	omni-clied node-server --help

Commands

omni-clied help [COMMANDS]

Display help for omni.

USAGE
  $ omni-clied help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for omni.

See code: @oclif/plugin-help

omni-clied node-server create DIR

create a new node-server

USAGE
  $ omni-clied node-server create DIR [--user] [--auth] [--goauth] [--view]

ARGUMENTS
  DIR  Name or directory of the destination

FLAGS
  --auth    This will implement basic authentication using jwt cookies
  --goauth  This will basic authentication using google Oauth
  --user    This will add a userModel
  --view    This will implement server-side rendering

DESCRIPTION
  create a new node-server

EXAMPLES
  $ omni node-server create

Note:

Currently, omni-clied only supports node-server but support for more applications will be released soon.

If you have an idea you would like us to add or you found a bug, please add them on the issues page of our Github. You can also write to me directly on this email

Package Sidebar

Install

npm i omni-clied

Weekly Downloads

1

Version

2.0.2

License

MIT

Unpacked Size

98.4 kB

Total Files

70

Last publish

Collaborators

  • dugar_rishab