fastshell 0.3.4

Lightweight Bash + Python runtime SDK for mobile AI agents
Documentation
1
2
3
4
5
6
7
8
9
10
// Copyright (c) 2025 xiefujin <490021684@qq.com>
// Licensed under Apache-2.0, see LICENSE file for full license terms.

use crate::shell::{CommandOutput, Shell};

impl Shell {
    pub fn cmd_pwd(&self, _args: &[&str]) -> CommandOutput {
        CommandOutput::success(format!("{}\n", self.cwd))
    }
}