Freshland is a CLI tool that lets you clone GitHub repositories without the git history. We're here to make things simpler and simpler for you. We promise.
You can use Freshland in two ways: with a single-line command or with a graphical user interface (GUI).
Global Flag | Description |
---|---|
--v , --vers |
Output the current version |
--d , --debug |
Enable debug mode |
To clone a repository with a single-line command, use the following syntax:
npx freshland@latest clone <source-repo> <target-dir>
For example, to clone typescript-starter
repository from ProxityStudios
into a directory named myapp
, run:
npx freshland@latest clone ProxityStudios/typescript-starter myapp --install-deps npm --update-package
<> Required | [] Optional
Flag | Referance | Accepted Values | Default Value | Description |
---|---|---|---|---|
--upd , --update-package |
false |
Update package name and version | ||
--n , --name |
<name> |
any-string eg: my-app |
cloned-repo-name |
Change the package name. |
--v , --version |
<version> |
any-version eg: 1.0.0 |
1.0.0 |
Change the package version |
--i , --install-deps |
<packageManager> |
npm , pnpm , bun , yarn |
do-not-install |
Install dependencies automatically |
--kg , --keep-git |
false |
Do not delete ".git" folder |
To clone a repository with a GUI, simply run:
npx freshland@latest
You will see a prompt like this:
E.P.A stands for ESLint, Prettier, and Airbnb. These are popular tools for code formatting and quality. Freshland can install and configure them for you with a single command. Yeah, it's that simple.
If you're using TypeScript, you need to provide the --ts
flag:
npx freshland@latest init-epa <path/to/install> --ts
If you're using JavaScript, you don't need to do anything extra, just omit the --ts
flag. But seriously, give TypeScript a try. It's not that hard.
npx freshland@latest init-epa <path/to/install>
Flag | Description |
---|---|
--typescript , --ts |
Use TypeScript |
If you have any questions, issues, or feedback related to Freshland, we're here to help! Join our Discord server for support, discussions, and updates.