Skip to content

Commit e66c7de

Browse files
committed
Updated README
1 parent 02cdbc7 commit e66c7de

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,20 @@ The DevHub CLI provides powerful theme management capabilities for synchronizing
4545
Before using theme commands, you need to initialize your environment:
4646

4747
```bash
48+
# Initialize in current directory
4849
devhub theme init
50+
51+
# Initialize in a new directory
52+
devhub theme init mybrand-corporate-theme
4953
```
5054

5155
This command will:
5256
- Create a `.env` file with your DevHub API credentials
5357
- Generate a `.gitignore` file with appropriate exclusions
5458
- Create a `devhub.conf.json` configuration file
5559

60+
When specifying a directory, the command will create the directory if it doesn't exist and initialize all configuration files within it.
61+
5662
You'll be prompted to enter:
5763
- `DEVHUB_API_KEY` - Your OAuth1 API key
5864
- `DEVHUB_API_SECRET` - Your OAuth1 API secret

0 commit comments

Comments
 (0)