1.0.4 • Published 4 years ago

@cloudiercom/cloudiersite-cli v1.0.4

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

cloudiersite-cli

A CLI tool for cloudier.site, deploy your full-stack apps to the cloud

Installation

Install with npm install -g @cloudiercom/cloudiersite-cli

or

yarn global add @cloudiercom/cloudiersite-cli

Commands

cloudiersite-cli v1.0.1

Usage : cloudiersite-cli command

Available commands :

Setup

login Login to our service

init <app-id> Link folder with your app-id

Filesystem

fs pull <source-folder> Pull folder from SERVER to LOCAL

fs push <folder-to-push> <opt: dest> Push folder from LOCAL to SERVER

Database - CloudBackend

db pull Retrieves .sql file of your database from SERVER to LOCAL

db push <sql-file> Restore the database on SERVER from the LOCAL .sql backup provided

Api - CloudBackend

api pull <opt: function_id> Pull all (or one) function(s) of your CloudBackend to LOCAL

api push <opt: function_id> Push all (or one) function(s) from LOCAL to your CloudBackend

Deployment

deploy fs <path> Deploys all your non-CloudBackend related files to the specified folder

deploy api <path> Deploys all the functions from your CloudBackend to the specified folder

deploy db <path> Deploys the database file from your CloudBackend to the specified folder

Help

help Displays this help text