Skip to content

SpaceUY/planetary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planetary CLI

A command-line tool for internal usage that copies specific folders from the template (boilerplate) folders into a chosen folder. This is designed to work similarly to ShadCN - the copies are independent from the template, and can be modified and customized at will.

This tool aims at helping streamline project setup by providing common functionality in the form of components for NestJS, React, and React Native apps.

AUTOGENERATED HEREON - CHECK!

Installation

Local Development

# Clone the repository
git clone <your-repo-url>
cd space-cli

# Install dependencies
npm install

# Build the project
npm run build

# Link the package globally
npm link

Usage

# Create a new project using interactive prompts
space-cli create

# Create a new project with specific options
space-cli create --template react --destination ./my-react-app

# Show help
space-cli --help

Available Templates

  • nest - NestJS template
  • react - React template
  • react-native - React Native template

Configuration

By default, the CLI will use a predefined GitHub repository for templates. You can specify a different repository using the --repository option:

space-cli create --repository https://github.com/your-org/your-templates-repo

Repository Structure

Your template repository should have the following structure:

repository/
├── nest/
│   └── ... (NestJS template files)
├── react/
│   └── ... (React template files)
└── react-native/
    └── ... (React Native template files)

Development

# Run in development mode
npm run dev

# Build the project
npm run build

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published