Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Different emojis for different commands #605

Merged
merged 2 commits into from
Sep 17, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn run() -> Result<(), failure::Error> {
SubCommand::with_name("kv:namespace")
.about(&*format!(
"{} Interact with your Workers KV Namespaces",
emoji::KV
emoji::FILES
))
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(
Expand Down Expand Up @@ -108,7 +108,7 @@ fn run() -> Result<(), failure::Error> {
.subcommand(SubCommand::with_name("kv:key")
.about(&*format!(
"{} Individually manage Workers KV key-value pairs",
emoji::KV
emoji::KEY
))
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(
Expand Down Expand Up @@ -203,7 +203,7 @@ fn run() -> Result<(), failure::Error> {
SubCommand::with_name("kv:bulk")
.about(&*format!(
"{} Interact with multiple Workers KV key-value pairs at once",
emoji::KV
emoji::BICEP
))
.setting(AppSettings::SubcommandRequiredElseHelp)
.subcommand(
Expand Down
4 changes: 3 additions & 1 deletion src/terminal/emoji.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@

use console::Emoji;

pub static BICEP: Emoji = Emoji("πŸ’ͺ ", "");
pub static CRAB: Emoji = Emoji("πŸ¦€ ", "");
pub static DANCERS: Emoji = Emoji("πŸ‘― ", "");
pub static EYES: Emoji = Emoji("πŸ‘€ ", "");
pub static FILES: Emoji = Emoji("πŸ—‚οΈ ", "");
pub static INBOX: Emoji = Emoji("πŸ“₯ ", "");
pub static INFO: Emoji = Emoji("πŸ’ ", "");
pub static KV: Emoji = Emoji("πŸ—‚οΈ ", "");
pub static KEY: Emoji = Emoji("πŸ”‘ ", "");
pub static MICROSCOPE: Emoji = Emoji("πŸ”¬ ", "");
pub static SHEEP: Emoji = Emoji("πŸ‘ ", "");
pub static SLEUTH: Emoji = Emoji("πŸ•΅οΈ ", "");
Expand Down