Skip to content

Commit 9cde6db

Browse files
committed
Create README
1 parent 3109fca commit 9cde6db

1 file changed

Lines changed: 71 additions & 2 deletions

File tree

README.md

Lines changed: 71 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,71 @@
1-
# cli-envy
2-
A simple CLI to print/copy files
1+
2+
# ✨ CLI Envy
3+
A simple CLI to print/copy files from a source directory! Usefull for managing `env` files 😉
4+
5+
6+
## Installation
7+
8+
Download your executable file from [releases](https://github.com/Unarray/cli-envy/releases) or build it your self.
9+
Then here we go, you can now use EnvyCLI!
10+
## Usage/Examples
11+
12+
### Print/copy your resource
13+
```sh
14+
# Print your resource content inside your terminal
15+
envy get your-resource
16+
17+
# Create/copy your resource content inside a file (here inside a `.env` file)
18+
envy get your-resource > .env
19+
```
20+
21+
### Command `envy --help`
22+
```
23+
@unarray/cli-envy - v1.0.0
24+
Usage: envy <cmd> [opts]
25+
26+
Commands:
27+
envy Interactive CLI to copy your resources [default]
28+
envy get <resource> Get your resource content
29+
envy get-dir Get your resources directory path
30+
envy list List your resources
31+
envy set-dir <directory> Set your resources directory path
32+
33+
Options:
34+
-v, --version Show version number [boolean]
35+
-h, --help Show help [boolean]
36+
```
37+
38+
## Run Locally
39+
40+
Clone the project
41+
42+
```bash
43+
git clone https://github.com/Unarray/cli-envy
44+
```
45+
46+
Go to the project directory
47+
48+
```bash
49+
cd my-project
50+
```
51+
52+
Install dependencies
53+
54+
```bash
55+
bun install
56+
```
57+
58+
Install the local CLI globaly
59+
60+
```bash
61+
bun run link-cli
62+
```
63+
64+
Build the CLI
65+
66+
```bash
67+
bun run build
68+
```
69+
## Support
70+
71+
For support, [create a github issue](https://github.com/Unarray/cli-envy/issues/new)

0 commit comments

Comments
 (0)