0.0.206 • Published 6 months ago

@hedhog/cli v0.0.206

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@hedhog/cli

The HedHog CLI is a command-line interface designed to simplify the process of creating new projects using the HedHog framework. It provides developers with a set of commands to quickly scaffold, configure, and manage their HedHog projects, reducing the amount of manual setup needed.

Purpose

The HedHog CLI is aimed at streamlining the development process by allowing users to generate project templates, add modules, and manage their projects with ease. It automates common tasks and ensures that projects are structured according to best practices.

Basic Commands

Below are the main commands provided by the CLI. Each command is prefixed with hedhog:

  • hedhog new <project-name>
    Initializes a new HedHog project in the specified directory. It will guide you through the configuration process, including setting up the backend, admin panel, and database.

  • hedhog add <module>
    Adds a new module to your HedHog project. You can use this to extend the functionality of your project by integrating additional components or features.

  • hedhog create <feature>
    Generates new modules, services, or features inside the project. This command helps quickly scaffold necessary files and structures.

  • hedhog info
    Displays information about the current project, such as version, installed modules, and configuration details.

  • hedhog start
    Starts the HedHog project in development mode, running both the backend API and admin interface. This command ensures that your project is up and running locally.

  • hedhog refresh <module> Refreshes the module's configuration and dependencies. This command can help resolve issues related to outdated or mismatched settings, ensuring your project is up to date with the latest configurations and modules.

  • hedhog reset <dependency> Redefine and reset the Hedhog project by removing additional dependencies and their related migrations.

Folder Structure

The project follows a clear folder structure to ensure easy navigation and maintenance:

hedhog-cli/
├── actions/             # Contains the logic for each CLI action (e.g., adding modules, creating projects)
├── bin/                 # Contains the executable scripts for running the CLI
├── commands/            # Individual commands for the CLI (e.g., new, add, start)
├── lib/                 # Shared utility functions and libraries used by the CLI
├── node_modules/        # Installed dependencies required for the CLI to function
├── tools/               # Additional tools or helper scripts used by the CLI
├── .gitignore           # Specifies which files and folders to ignore in version control
├── .npmignore           # Specifies which files and folders to ignore when publishing the CLI to npm
├── .prettierrc          # Configuration for Prettier, ensuring consistent code formatting
├── package-lock.json    # Automatically generated file managing dependency versions
├── package.json         # Manages the dependencies and scripts for the CLI
├── README.md            # Documentation for the CLI project
└── tsconfig.json        # TypeScript configuration for the CLI project
0.0.205

6 months ago

0.0.204

6 months ago

0.0.203

7 months ago

0.0.202

7 months ago

0.0.206

6 months ago

0.0.201

7 months ago

0.0.200

7 months ago

0.0.197

7 months ago

0.0.196

7 months ago

0.0.195

7 months ago

0.0.194

7 months ago

0.0.199

7 months ago

0.0.198

7 months ago

0.0.193

7 months ago

0.0.192

7 months ago

0.0.191

7 months ago

0.0.190

7 months ago

0.0.159

11 months ago

0.0.153

11 months ago

0.0.152

11 months ago

0.0.151

11 months ago

0.0.150

11 months ago

0.0.157

11 months ago

0.0.156

11 months ago

0.0.155

11 months ago

0.0.154

11 months ago

0.0.169

10 months ago

0.0.164

11 months ago

0.0.163

11 months ago

0.0.162

11 months ago

0.0.161

11 months ago

0.0.168

10 months ago

0.0.167

10 months ago

0.0.166

10 months ago

0.0.165

11 months ago

0.0.160

11 months ago

0.0.175

10 months ago

0.0.174

10 months ago

0.0.173

10 months ago

0.0.172

10 months ago

0.0.179

9 months ago

0.0.178

9 months ago

0.0.177

10 months ago

0.0.176

10 months ago

0.0.171

10 months ago

0.0.170

10 months ago

0.0.186

8 months ago

0.0.185

8 months ago

0.0.184

8 months ago

0.0.183

8 months ago

0.0.189

7 months ago

0.0.188

8 months ago

0.0.187

8 months ago

0.0.182

8 months ago

0.0.181

8 months ago

0.0.180

9 months ago

0.0.117

12 months ago

0.0.119

12 months ago

0.0.118

12 months ago

0.0.128

12 months ago

0.0.127

12 months ago

0.0.126

12 months ago

0.0.125

12 months ago

0.0.129

12 months ago

0.0.120

12 months ago

0.0.124

12 months ago

0.0.123

12 months ago

0.0.122

12 months ago

0.0.121

12 months ago

0.0.139

11 months ago

0.0.138

11 months ago

0.0.137

11 months ago

0.0.136

11 months ago

0.0.131

11 months ago

0.0.130

12 months ago

0.0.135

11 months ago

0.0.134

11 months ago

0.0.133

11 months ago

0.0.132

11 months ago

0.0.149

11 months ago

0.0.148

11 months ago

0.0.147

11 months ago

0.0.142

11 months ago

0.0.141

11 months ago

0.0.140

11 months ago

0.0.146

11 months ago

0.0.145

11 months ago

0.0.144

11 months ago

0.0.143

11 months ago

0.0.116

12 months ago

0.0.115

12 months ago

0.0.114

12 months ago

0.0.113

12 months ago

0.0.112

12 months ago

0.0.106

12 months ago

0.0.105

12 months ago

0.0.104

12 months ago

0.0.103

12 months ago

0.0.109

12 months ago

0.0.108

12 months ago

0.0.107

12 months ago

0.0.102

12 months ago

0.0.101

12 months ago

0.0.100

12 months ago

0.0.111

12 months ago

0.0.110

12 months ago

0.0.95

12 months ago

0.0.96

12 months ago

0.0.97

12 months ago

0.0.98

12 months ago

0.0.99

12 months ago

0.0.93

12 months ago

0.0.94

12 months ago

0.0.84

1 year ago

0.0.85

1 year ago

0.0.86

1 year ago

0.0.87

1 year ago

0.0.88

1 year ago

0.0.89

1 year ago

0.0.83

1 year ago

0.0.90

1 year ago

0.0.91

1 year ago

0.0.92

1 year ago

0.0.80

1 year ago

0.0.81

1 year ago

0.0.82

1 year ago

0.0.76

1 year ago

0.0.77

1 year ago

0.0.78

1 year ago

0.0.79

1 year ago

0.0.73

1 year ago

0.0.74

1 year ago

0.0.75

1 year ago

0.0.70

1 year ago

0.0.71

1 year ago

0.0.72

1 year ago

0.0.62

1 year ago

0.0.63

1 year ago

0.0.64

1 year ago

0.0.65

1 year ago

0.0.66

1 year ago

0.0.67

1 year ago

0.0.68

1 year ago

0.0.69

1 year ago

0.0.60

1 year ago

0.0.61

1 year ago

0.0.59

1 year ago

0.0.57

1 year ago

0.0.58

1 year ago

0.0.56

1 year ago

0.0.55

1 year ago

0.0.54

1 year ago

0.0.53

1 year ago

0.0.52

1 year ago

0.0.51

1 year ago

0.0.50

1 year ago

0.0.49

1 year ago

0.0.48

1 year ago

0.0.47

1 year ago

0.0.46

1 year ago

0.0.45

1 year ago

0.0.44

1 year ago

0.0.43

1 year ago

0.0.42

1 year ago

0.0.41

1 year ago

0.0.40

1 year ago

0.0.39

1 year ago

0.0.38

1 year ago

0.0.37

1 year ago

0.0.36

1 year ago

0.0.35

1 year ago

0.0.34

1 year ago

0.0.33

1 year ago

0.0.32

1 year ago

0.0.31

1 year ago

0.0.30

1 year ago

0.0.29

1 year ago

0.0.28

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.2

1 year ago

0.0.3

1 year ago

0.0.1

1 year ago