---
name: php186-skill-81283
description: "阀门选型工具"
---

# Valve

## valve

 

Valve sizing and selection tool

 

## Commands

 

### ` status `

 

```
scripts/script.sh status
```

 

Show current status

 

### ` add `

 

```
scripts/script.sh add
```

 

Add new entry

 

### ` list `

 

```
scripts/script.sh list
```

 

List all entries

 

### ` search `

 

```
scripts/script.sh search
```

 

Search entries

 

### ` remove `

 

```
scripts/script.sh remove
```

 

Remove entry by number

 

### ` export `

 

```
scripts/script.sh export
```

 

Export data to file

 

### ` stats `

 

```
scripts/script.sh stats
```

 

Show statistics

 

### ` config `

 

```
scripts/script.sh config
```

 

View or set config

 

### ` help `

 

```
scripts/script.sh help
```

 

### ` version `

 

```
scripts/script.sh version
```

 

## Configuration

 

Use ` scripts/script.sh config <key> <value> ` to set preferences.

 

| Variable | Required | Description |
| --- | --- | --- |
| ` VALVE_DIR ` | No | Data directory (default: ~/.valve/) |

 

## Data Storage

 

All data stored in ` ~/.valve/ ` using JSONL format (one JSON object per line).

 

## Output

 

Structured output to stdout. Exit code 0 on success, 1 on error.

 

*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
