Skip to content

departure-inc/skeleton-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skeleton CLI

This is the skeleton command for the initial project file deployment.

See: https://github.com/departure-inc/skeleton-cli

Check skeleton/README.md on departure inc for details.

See: https://github.com/rawhide/skeleton

Installation

$ brew tap departure-inc/skeleton-cli
$ brew install skeleton-cli

Usage

Create a new project.

example.

# rails
$ rails new example-app -T -B

# nextjs
$ pnpm create next-app

# rust
$ cargo new example-app

# flutter
$ flutter create example-app --org com.example

Go to project root.

Usage: skeleton [OPTIONS] [ARGS]

OPTIONS:
  rails  : Ruby on Rails
  next   : Next.js
  rust   : Rust, Axum and SQLx
  python : Python, FastAPI and SQLAlchemy
  flutter: Flutter

ARGS:
  init  : initialize project.
  help  : help.

Run any command.

$ skeleton rails init
$ skeleton next init
$ skeleton rust init
$ skeleton python init
$ skeleton flutter init

Help

$ skeleton help

The following features to be implemented.

$ skeleton next g scaffold User name:string email:string
$ skeleton rust g scaffold User name:string email:string

ARGS:
  g | generate : resource generator