Skip to content
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
25 changes: 0 additions & 25 deletions crates/goose-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use crate::commands::configure::configure_telemetry_consent_dialog;
use crate::commands::configure::handle_configure;
use crate::commands::info::handle_info;
use crate::commands::plugin::{handle_plugin_install, handle_plugin_update};
use crate::commands::project::{handle_project_default, handle_projects_interactive};
use crate::commands::recipe::{handle_deeplink, handle_list, handle_open, handle_validate};
use crate::commands::term::{
handle_term_info, handle_term_init, handle_term_log, handle_term_run, Shell,
Expand All @@ -38,8 +37,6 @@ use goose::session::session_manager::SessionType;
use goose::session::SessionManager;
use std::io::Read;
use std::path::PathBuf;
use tracing::warn;

const GOOSE_SERVER_SECRET_KEY_ENV: &str = "GOOSE_SERVER__SECRET_KEY";

fn generate_serve_secret_key() -> String {
Expand Down Expand Up @@ -946,14 +943,6 @@ enum Command {
extension_opts: ExtensionOptions,
},

/// Open the last project directory
#[command(about = "Open the last project directory", visible_alias = "p")]
Project {},

/// List recent project directories
#[command(about = "List recent project directories", visible_alias = "ps")]
Projects,

/// Execute commands from an instruction file
#[command(about = "Execute commands from an instruction file or stdin")]
Run {
Expand Down Expand Up @@ -1349,8 +1338,6 @@ fn get_command_name(command: &Option<Command>) -> &'static str {
Some(Command::Acp { .. }) => "acp",
Some(Command::Serve { .. }) => "serve",
Some(Command::Session { .. }) => "session",
Some(Command::Project {}) => "project",
Some(Command::Projects) => "projects",
Some(Command::Run { .. }) => "run",
Some(Command::Gateway { .. }) => "gateway",
Some(Command::Schedule { .. }) => "schedule",
Expand Down Expand Up @@ -2218,10 +2205,6 @@ pub async fn cli() -> anyhow::Result<()> {

let cli = Cli::parse();

if let Err(e) = crate::project_tracker::update_project_tracker(None, None) {
warn!("Warning: Failed to update project tracker: {}", e);
}

let command_name = get_command_name(&cli.command);
tracing::info!(
monotonic_counter.goose.cli_commands = 1,
Expand Down Expand Up @@ -2293,14 +2276,6 @@ pub async fn cli() -> anyhow::Result<()> {
)
.await
}
Some(Command::Project {}) => {
handle_project_default()?;
Ok(())
}
Some(Command::Projects) => {
handle_projects_interactive()?;
Ok(())
}
Some(Command::Run {
input_opts,
identifier,
Expand Down
1 change: 0 additions & 1 deletion crates/goose-cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ pub mod doctor;
pub mod gateway;
pub mod info;
pub mod plugin;
pub mod project;
pub mod recipe;
pub mod review;
pub mod schedule;
Expand Down
310 changes: 0 additions & 310 deletions crates/goose-cli/src/commands/project.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/goose-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ compile_error!("Features `rustls-tls` and `native-tls` are mutually exclusive");
pub mod cli;
pub mod commands;
pub mod logging;
pub mod project_tracker;
pub mod recipes;
pub mod scenario_tests;
pub mod session;
Expand Down
Loading
Loading