@fazelstudio/fazel-cli
v1.0.0
Published
FazelStudio Source Code Distribution CLI
Readme
@fazelstudio/fazel-cli
The official CLI for FazelStudio. Seamlessly download and bootstrap your project source codes directly from the cloud to your local machine using a secure device-based authentication flow.
Features
- 🔐 Secure Device Login: Authenticate your CLI instance safely via your browser.
- ⚡ Fast Downloads: Stream and extract project ZIPs directly into your working directory.
- 📁 Instant Bootstrapping: Create new folders and extract code in a single command.
- 🔌 Dynamic Fallback: Intelligently switches between production and local development environments.
Installation
Install the CLI globally using npm:
npm install -g @fazelstudio/fazel-cliCommands
Authentication
Before downloading projects, you need to link your computer to your FazelStudio account.
# Start the login flow (opens your browser)
fazel login
# Remove your credentials and log out from this device
fazel logoutDownloading Projects
fazel d <url>
Downloads a project and extracts it into the current directory.
fazel d https://fazelstudio.vercel.app/projects/username-intelligencefazel create <folder-name> <url>
Creates a new folder and extracts the project into it.
fazel create my-new-project https://fazelstudio.vercel.app/projects/username-intelligenceHelp
To view all available commands and options, run:
fazel helpSecurity
Tokens are securely stored locally at ~/.fazelstudio/credentials.json with restricted file permissions (0o600), ensuring that only your operating system user account has access to the credentials. You can revoke access at any time from the "CLI Devices" menu in your FazelStudio Settings dashboard.
Built with ❤️ by FazelStudio
