Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(environment): add aliases to environment for config loading (#3838)

Will Hutchinson1a84a289e0dc
diff --git a/rust/cloud-storage/macro_env/src/lib.rs b/rust/cloud-storage/macro_env/src/lib.rs
index b898d64b9d..427e43f8a1 100644
--- a/rust/cloud-storage/macro_env/src/lib.rs
+++ b/rust/cloud-storage/macro_env/src/lib.rs
@@ -18,11 +18,13 @@ mod var {
#[serde(rename_all = "lowercase")]
pub enum Environment {
/// Production environment
+ #[serde(alias = "prod", alias = "prd")]
Production,
/// Dev and or staging environment
- /// TODO: update and add new value when we have real staging
+ #[serde(alias = "dev", alias = "development")]
Develop,
/// The server is running on localhost
+ #[serde(alias = "lcl", alias = "localhost")]
Local,
}