Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
uranio-cli
Advanced tools
Uranio command line interface.
Uranio CLI is the only package you need in order to work with Uranio.
Uranio is a framework that helps you build CRUD API.
Uranio can be installed as one of the following module: core
, api
, trx
, adm
.
Each module includes the previous one.
Uranio Core generates classes needed to interact with the database.
Uranio can run the following databases: MongoDB // More in the future.
Uranio API run a service with CRUD API.
Uranio can run the API on Express.js or on Netlify.
Uranio TRX creates Hooks that can be used to query the API.
Uranio Admin creates a full Administration Panel that interact with the API.
Uranio CLI requires Node.js. To install it, run the following command from any directory in your terminal:
npm install uranio-cli -g
or if you are using yarn
yarn global add uranio-cli
When using the CLI in a CI environment we recommend installing it locally as a development dependency, instead of globally. To install locally, run the following command from the root directory of your project:
npm install --save-dev uranio-cli
or if you are using yarn
yarn add --dev uranio-cli
Installing the CLI globally provides access to the uranio
command.
uranio [command]
Run help
for detailed information about CLI commands
uranio help
uranio init
-s --root
(string) - Set project root. If empty Uranio will auto detect the closest repo.-r --repo
(string) - Set Uranio repo [core, api, trx, adm]-f --force
(boolean) - Run without prompts.-d --deploy
(string) - Set deploy [express, netlify]-p --pacman
(string) - Set package manager [npm, yarn]-k --docker
(boolean) - Compile and run inside a Docker container - Docker must be installed on the machine.--docker_db
(boolean) - Run a DB in a Docker container - Docker must be installed on the machine.--db
(string) - Set docker DB [mongo] - Docker must be installed on the machine.This command initialize the repository. It will download and install all dependencies and copy all the files needed in order to start developing.
uranio dev
This command starts a local development server.
Subcommand | description |
---|---|
dev:server | Run development only for server |
dev:client | Run development only for client |
uranio deinit
This command deletes everything uranio created and return the repo in its initial state.
uranio info
This command prints the information uranio was initialized with.
uranio help
This command prints the list of all commands, parameters and options.
uranio version
#or
uranio
This command prints uranio-cli
version.
-v --verbose
(boolean) - log in verbose mode.-u --debug
(boolean) - log in debug mode.-n --hide
(boolean) - do not output log.-b --blank
(boolean) - log with no colors.-w --fullwidth
(boolean) - log in full width.-x --prefix
(string) - set a log prefix.-t --time
(boolean) - log with timestamp.-a --context
(boolean) - log with context.-l --filelog
(boolean) - save log on file.-i --spin
(boolean) - log with spinner.-e --native
(boolean) - log in native mode.-c --color_log
(string) - log color.-o --color_verbose
(string) - verbose log color.-q --color_debug
(string) - debug log color.Change directory to your npm repo:
cd /path/to/my/repo
If not already, run:
npm init
#or
yarn init
Then initialize Uranio with:
uranio init -vu
The command will prompt with the question regarding the repo you want to initialize.
api
or above, choose how you want to deploy the service [express, netlify]This might take a while, depending on your internet connection.
After it is done, your repo is ready for development.
In order to start developing you will need to create and run a development server. Run:
uranio dev
Here you will see all the logs, also it will print the IP of the client in the case of the adm
module.
Now you can start developing.
FAQs
Uranio command line interface [DEPRECATED]
The npm package uranio-cli receives a total of 3 weekly downloads. As such, uranio-cli popularity was classified as not popular.
We found that uranio-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.