Skip to main content

CLI tool to generate simple web project templates

Project description

webgenplate

CLI tool para geração de templates de projetos web simples. Com um único comando, o webgenplate cria a estrutura de pastas e arquivos necessários para começar um projeto web básico (HTML, CSS, JS) do zero.

Estrutura gerada

Ao criar um projeto, a seguinte estrutura é gerada automaticamente:

meu-projeto/
├── index.html
├── css/
│   └── style.css
├── js/
│   └── script.js
├── assets/
└── README.md

O index.html já vem com um boilerplate HTML5 básico, com os links para o CSS e o script JS configurados.

Instalação

Requer Python 3.10 ou superior.

Clone o repositório e instale o pacote com pip:

git clone https://github.com/seu-usuario/webgenplate.git
cd webgenplate
pip install .

Uso

webgenplate <nome-do-diretório> [--template TEMPLATE]

Argumentos

Argumento Descrição
nome-do-diretório Nome da pasta onde o projeto será criado
--template Template a ser usado (padrão: basic)

Exemplo

webgenplate meu-projeto

Isso criará a pasta meu-projeto/ no diretório atual com toda a estrutura do template básico.

Templates disponíveis

Template Descrição
basic Estrutura HTML/CSS/JS com boilerplate HTML5

Desenvolvimento

Para instalar em modo editável:

pip install -e .

Autor

Davi Vitorino

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

webgenplate-0.2.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webgenplate-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file webgenplate-0.2.0.tar.gz.

File metadata

  • Download URL: webgenplate-0.2.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for webgenplate-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6e73b900321208b645cf569a6df80d6347342031191866e364565ce48941d89d
MD5 993ac46982a19861ccd6f8cc007a0799
BLAKE2b-256 3876c94eeae6853dbd51aa72510aff18565ddeb679bd428eedf406b479bf1e8c

See more details on using hashes here.

File details

Details for the file webgenplate-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: webgenplate-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for webgenplate-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8293f73fce40bd900904030eb2e14dfb1e379d9c8702459670538a3dcfa0009c
MD5 621ec65f3ea75818a82a37e4bfd12201
BLAKE2b-256 fb36512d987984567325c136e0fd521b0250bd6c54579e9044c49d16aa269cac

See more details on using hashes here.

Supported by

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