https://github.com/manufosela/wabuse-cli
Command Line Interface from Web Applications Built Using Standars Everywhere Tool
https://github.com/manufosela/wabuse-cli
Last synced: 3 months ago
JSON representation
Command Line Interface from Web Applications Built Using Standars Everywhere Tool
- Host: GitHub
- URL: https://github.com/manufosela/wabuse-cli
- Owner: manufosela
- License: apache-2.0
- Created: 2022-11-12T07:46:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-09T06:40:12.000Z (8 months ago)
- Last Synced: 2025-01-08T06:15:46.421Z (5 months ago)
- Language: JavaScript
- Size: 2 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# wabuse
Web Applications Built Using Standards Everywhere Tool
Generate static web pages with links to js and css files that are stored in the `dist` folder.
Oriented to HTML5, CSS, ES6 + and Web components standards through LitElement.
Based in conventions vs configurations.**[wabuse](https://www.npmjs.com/package/wabuse)** is a set of tools to create static sites using standard javascript.
## Tools
_[wabuse](https://www.npmjs.com/package/wabuse)_, the command line interface to generate static pages
## Install like global cli
```bash
npm install -g @wabuse/wabuse-cli
```## Usage
### Generate scafolding
```bash
wabuse scafolding [--languages 'lang1','lang2'[,...]] [--commonfiles 'file1','file2'[,...]]
```### Generate new Page
```bash
wabuse create-page PAGENAME [--languages 'lang1','lang2'[,...]]
```### Generate web-component
```bash
wabuse create-wc WC-NAME
```### Generate Build
To generate static HTML pages
```bash
wabuse build [--port PORT] [--workdir WORKDIR]
```## TREE DIR STRUCTURE
El proyecto consta de la siguiente estructura de carpetas:
```bash
|__dist (after the build)
|__resources
|__src
|__assets
|__components
|__css
|__js
|__lib
|__pages
|__tpl
|__json
```### Path `dist`
Path when the html pages are building after `npm run build`
### Path `recursos`
Path whith resources like robots.txt and sitemap.xml.
These files are copied into dist dir.