-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(commands): add some of the common commands that are useful for … (
- Loading branch information
1 parent
ef44034
commit ff1deb7
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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``` |