# exalt-tools

> A CLI interface for exalt tools

Latest version **1.0.151** (published 2021-04-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install exalt-tools
pnpm add exalt-tools
yarn add exalt-tools
bun add exalt-tools
```

Provides the command `exalt-tools`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.151 |
| Published | 2021-04-15 |
| First published | 2021-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 14.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | danielwedding |

## Links

- npm: https://www.npmjs.com/package/exalt-tools
- Repository: https://github.com/Ottegi/exalt-tools
- Homepage: https://github.com/Ottegi/exalt-tools#readme
- Issues: https://github.com/Ottegi/exalt-tools/issues
- npm.io page: https://npm.io/package/exalt-tools

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 1.0.151 (latest) — 2021-04-15
- 1.0.15 — 2021-04-15
- 1.0.12 — 2021-04-09
- 1.0.11 — 2021-04-09
- 1.0.1 — 2021-04-09
- 1.0.0 — 2021-04-09

## README

# Exalt Tools
Command Line Tools for Exalt


---

# Installation
`npm install -g exalt-tools`

or usage case:

`npx exalt-tools`


# Warning
So far, the only two given fillers are `className` and `componentName`.

---

# CLI Usage

`exalt-tools <command>`

# Commands
- `create base <component-name>`
- `create <type> <component-name>`
  
---

# Example Template

Each template should be in the root directory in folder `templates` with the name of the type. 

Example: /templates/nav-bar.tt
```
import { Component, html } from "@exalt/core";

import style from "./{{componentName}}.css";

export class {{className}} extends Component {
    render(){
        return html`<div><a href="">Test</a></div>`;
    }
}

Component.create({ name: "{{componentName}}", styles: [style] }, {{className}});
```

Template extension can either be `.txt` or `.tt`.

---
_Source: https://npm.io/package/exalt-tools · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
