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/
│   └── images/
│   └── icons/
└── 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.1.tar.gz (3.0 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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: webgenplate-0.2.1.tar.gz
  • Upload date:
  • Size: 3.0 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.1.tar.gz
Algorithm Hash digest
SHA256 bbaaa96dbfdcfd6feaabe56a6effe19e7dfd10b3b1b4ef197f5628320197f49e
MD5 e1a5482a85cdee1ed83e212c73d4ed41
BLAKE2b-256 542d9c3ec6e437e84b422665112d8d2349baf7a975f038cc659139846349f92c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: webgenplate-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acdec8e0f5b079fda0ec6ea87d379b64fd03ebb595bbdca9a1e54c44e46d3a0a
MD5 c457cf96121f2f733e01f6931845dc34
BLAKE2b-256 c3115b503a5518deaab2812f437627f63ac7b6a559c0dde521fa4abafce228d0

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