aboutsummaryrefslogtreecommitdiff
path: root/tools/tscn-to-bsn/src/fallback.rs
blob: 99bdd13246ca81f6c39b8ec796255e4939f87fc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
use mingling::macros::{help, renderer};

use crate::EntryFallback;

#[help]
pub fn help_global(_: EntryFallback) -> String {
    include_str!("helps/help.txt").to_string()
}

#[renderer]
pub fn render_global_hint(_: EntryFallback) -> String {
    "Error: unknown command, please use `tscn2bsn /H` for help".into()
}