We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc21bc4 commit c44efe3Copy full SHA for c44efe3
1 file changed
cli/src/main.rs
@@ -301,8 +301,8 @@ async fn main() -> anyhow::Result<()> {
301
Config::default()
302
};
303
304
- // Check for config requirement (all commands except init require .acp.config.json)
305
- let requires_config = !matches!(cli.command, Commands::Init { .. });
+ // Check for config requirement (most commands require .acp.config.json)
+ let requires_config = !matches!(cli.command, Commands::Init { .. } | Commands::Validate { .. });
306
if requires_config {
307
let config_path = PathBuf::from(".acp.config.json");
308
if !config_path.exists() {
0 commit comments