Skip to content

Commit

Permalink
description
Browse files Browse the repository at this point in the history
  • Loading branch information
milesstoetzner committed Sep 3, 2023
1 parent 72d2944 commit 0a6f79d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,31 @@
# can2x

`can2x` is a simple utility for connecting a can bus unidirectional with another can bus over the network using common web protocols, such as HTTP, MQTT, Socket.IO, and WebSockets.
This project is a research prototype and should not be used in production.

```
Usage: can2x [options] [command]
can2x is a simple utility for connecting a can bus unidirectional with another can bus over the network using common web protocols, such as HTTP, MQTT, Socket.IO, and WebSockets.
Options:
-h, --help display help for command
Commands:
bridge manages a can2x bridge
vcan manages a vcan
help [command] display help for command
```

```
Usage: can2x bridge [options] [command]
manages a can2x bridge
Options:
-h, --help display help for command
Commands:
start [options] starts a can2x bridge
help [command] display help for command
```
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Command, Option} from 'commander'

export const program = new Command()

const can2x = program.name('can2x')
const can2x = program.name('can2x').description('can2x is a simple utility for connecting a can bus unidirectional with another can bus over the network using common web protocols, such as HTTP, MQTT, Socket.IO, and WebSockets.')

const bridge = can2x.command('bridge').description('manages a can2x bridge')

Expand Down

0 comments on commit 0a6f79d

Please sign in to comment.