# @car_han/cli

> CLI to handle some os things quickly.

Latest version **0.0.7** (published 2022-11-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install @car_han/cli
pnpm add @car_han/cli
yarn add @car_han/cli
bun add @car_han/cli
```

Provides the command `thx`.

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2022-11-22 |
| First published | 2022-11-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 38.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | hands0meX |
| Maintainers | car_han |
| Keywords | typescript, npm, cli |

## Links

- npm: https://www.npmjs.com/package/@car_han/cli
- Repository: https://github.com/hands0meX/template
- Homepage: https://github.com/hands0meX/npm-cli#readme
- Issues: https://github.com/hands0meX/npm-cli/issues
- npm.io page: https://npm.io/package/@car_han/cli

## Dependencies (3)

- [commander](https://npm.io/package/commander.md) ^9.4.1
- [terminal-kit](https://npm.io/package/terminal-kit.md) ^3.0.0
- [@car_han/utils](https://npm.io/package/@car_han/utils.md) ^1.0.9

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.0.7 (latest) — 2022-11-22
- 0.0.6 — 2022-11-21
- 0.0.5 — 2022-11-19
- 0.0.4 — 2022-11-18
- 0.0.3 — 2022-11-17
- 0.0.2 — 2022-11-16
- 0.0.1 — 2022-11-16

## README

### CLI

[build 🔨](#build)

-   [fs 📃](#fs)

**Install**
npm i -g @car_han/cli

**🚀launch**

```js
Usage: thx-cli [options] [command]

CLI to handle some os things quickly.

Options:
  -V, --version        output the version number
  -h, --help           display help for command

Commands:
  build [options]      build fs and so on.
  help [command]       display help for command
```

#### build

##### fs (file system)

###### Usage
1. **build**
-   thx build --fs "F#foo>ts#test+(F#bar>ts#test) in ./"
-   thx build
    ```shell
    > Enter file system by emmet: F#foo>ts#test+(F#bar>ts#test)+(F#aaa>ts#test) in ./
    ```
    ```
    |--foo/
      |--test.ts
      |--bar/
        |--test.ts
      |--aaa/
        |--test.ts
    ```
    have to be aware of is:
-   use "#" to set the name of your file|folder
-   use ">" to set your sub file|folder
-   use "in" to set gen target root path, default is "./"

2. **parse**
- Parse the target folder
```shell
thx build --fsp ./foo
```
```js
return F#foo>(F#aaa>ts#test)+(F#bar>ts#test)+ts#test
```

 
**_Not finished yet, stay tuned._**

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