Skip to content

Commit

Permalink
chore(commands): add some of the common commands that are useful for … (
Browse files Browse the repository at this point in the history
  • Loading branch information
WanderingHogan authored Oct 27, 2023
1 parent ef44034 commit ff1deb7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/dev_commands_cheatsheet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

Command Cheat Sheet (Unix)

# Logging
### Show Help Commands:
```cargo run --release -- --help```


### Write debug level logs to file
#### delete log and start new (using default uplink folder)
```rm ~/.uplink/.user/debug.log && cargo run --release -- debug-all```

#### append
```cargo run --release -- debug-all```

### Write debug level logs to console
```cargo run --release -- debug```

### Write trace log levels and INCLUDE warp logging
```cargo run --release -- trace-warp```

____
## Run Multiple Uplinks locally
```cargo run --release -- --path ~/path/to/profile/you/want```



___

## Copy Extensions and Run App (from within the Uplink folder)
#### dylib is a macos specific extension, it will have a different extension on Windows and Linux
```cargo build --release && cp ./target/release/libemoji_selector.dylib ~/.uplink/extensions && cargo run --release```

___
## Wipe out your state.json file
#### Default uplink profile
```rm ~/.uplink/.user/state.json```

0 comments on commit ff1deb7

Please sign in to comment.