Skip to main content

No project description provided

Project description

go-project-cli

Golang Project Folder and File Creation CLI


Command

new

  • create package with Controller, Service, Model, Repository

  • projectcli new [package name]

    projectcli new [package name]
    
  • Examples of executions

      .
      └── package_name/
        ├── controllers/
        │   └── controller.go
        ├── services/
        │   └── service.go
        ├── repositories/
        │   └── repository.go
        └── models/
            └── model.go
    

generate

  • create semantic folders and files such as controllers, services, and models
  • projectcli generate [schematic] [package name]
  • Examples of executions
    • projectcli generate co [package name]
        .
        └── controllers/
          └── controller.go
      

semantics

name alias description
controller co Generate a controller declaration.
service s Generate a service declaration.
model m Generate a model declaration.
repository r Generate a repository declaration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

go_project_cli-0.3.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

go_project_cli-0.3.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page