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
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,23 @@ File bugs and feature requests at [GitHub Issues](https://github.com/StrangeDays

We welcome patches! Please read [CONTRIBUTING.md](CONTRIBUTING.md) before submitting a PR. All contributors must sign the **Contributor License Agreement (CLA)** — the CLA bot will guide you on your first pull request.

## Built with AI · Powered by StrayMark

`arborist-cli` is an experiment in **disciplined AI-assisted development**.
The implementation — the `clap`-derived CLI surface, the three output
formats (table / JSON / CSV), the directory traversal layer, self-update
from GitHub Releases, and the 29-test integration suite — was authored
largely by AI agents under human direction.

To make that velocity sustainable, we use **[StrayMark](https://straymark.dev)**:
a CLI for *cognitive discipline in AI-assisted engineering*. It turned every
architectural choice into an AIDEC record and every implementation block into
an AILOG — all under `.straymark/`, append-only and audit-ready. The
governance artifacts emerged **alongside** the code, not as homework after.

> StrayMark is built by Strange Days Tech — the same team behind `arborist-cli`.
> It is the tool we made to solve our own problem.

## License

Licensed under either of
Expand All @@ -306,3 +323,13 @@ Licensed under either of
at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

---

## Copyright

**`arborist-cli`** is © 2026 **[Strange Days Tech S.A.S. de C.V.](https://strangedays.tech/)** — original author and intellectual-property holder of the source code.

The CLI is released under the dual MIT / Apache-2.0 license above; this notice records authorship and does **not** modify those license terms. Each source file carries an SPDX header reflecting the same.

> Built by **[Strange Days Tech](https://strangedays.tech/)** — México.
3 changes: 3 additions & 0 deletions src/about.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

pub fn print() {
let version = env!("CARGO_PKG_VERSION");
let description = env!("CARGO_PKG_DESCRIPTION");
Expand Down
3 changes: 3 additions & 0 deletions src/analysis.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::io::Read;
use std::path::{Path, PathBuf};

Expand Down
3 changes: 3 additions & 0 deletions src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::path::PathBuf;

use clap::{Parser, Subcommand, ValueEnum};
Expand Down
3 changes: 3 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::process::ExitCode;

#[derive(Debug, thiserror::Error)]
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

pub mod about;
pub mod analysis;
pub mod cli;
Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::process::ExitCode;

use clap::Parser;
Expand Down
3 changes: 3 additions & 0 deletions src/output/csv_output.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::io;

use arborist::FileReport;
Expand Down
3 changes: 3 additions & 0 deletions src/output/json.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::io::{self, Write};

use arborist::FileReport;
Expand Down
3 changes: 3 additions & 0 deletions src/output/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

pub mod csv_output;
pub mod json;
pub mod table;
Expand Down
3 changes: 3 additions & 0 deletions src/output/table.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::io::{self, IsTerminal, Write};

use arborist::FileReport;
Expand Down
3 changes: 3 additions & 0 deletions src/traversal.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::path::{Path, PathBuf};

use ignore::WalkBuilder;
Expand Down
3 changes: 3 additions & 0 deletions src/update.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use std::process::ExitCode;

const CURRENT_VERSION: &str = env!("CARGO_PKG_VERSION");
Expand Down
3 changes: 3 additions & 0 deletions tests/cli/directory.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;
use predicates::prelude::*;

Expand Down
3 changes: 3 additions & 0 deletions tests/cli/exit_codes.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;

fn cmd() -> Command {
Expand Down
3 changes: 3 additions & 0 deletions tests/cli/filtering.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;
use predicates::prelude::*;

Expand Down
3 changes: 3 additions & 0 deletions tests/cli/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

mod directory;
mod exit_codes;
mod filtering;
Expand Down
3 changes: 3 additions & 0 deletions tests/cli/multi_input.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;
use predicates::prelude::*;

Expand Down
3 changes: 3 additions & 0 deletions tests/cli/output_formats.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;
use predicates::prelude::*;

Expand Down
3 changes: 3 additions & 0 deletions tests/cli/single_file.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;
use predicates::prelude::*;

Expand Down
3 changes: 3 additions & 0 deletions tests/cli/stdin.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
// Copyright (c) 2026 Strange Days Tech S.A.S. de C.V. <https://strangedays.tech>

use assert_cmd::Command;
use predicates::prelude::*;

Expand Down
Loading