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

Commit

Permalink
Merge pull request #605 from cloudflare/avery/fix-emojis
Browse files Browse the repository at this point in the history
Different emojis for different commands
  • Loading branch information
EverlastingBugstopper authored Sep 17, 2019
2 parents 1fbc890 + 080a2f6 commit d11ccfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
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

0 comments on commit d11ccfd

Please sign in to comment.