tessera-command 0.5.4

The tesserax command: opens a recipe, then serves, fetches or runs tasks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::views;

fn args(words: &[&str]) -> Vec<String> {
    words.iter().map(|w| w.to_string()).collect()
}

#[test]
fn views_gates_non_views() {
    assert!(!views(&args(&["mcp"])));
    assert!(!views(&args(&["--version"])));
    assert!(!views(&args(&["--recipe", "x", "mcp"])));
    assert!(views(&args(&[])));
    assert!(views(&args(&["task", "ask", "hi"])));
}