//! Discovery wrapper around `crate::authoring::add_to_path`.
//!
//! The CLI binary handles world-path discovery: try the standard `worlds/`
//! location first, then fall back to `world.jsonl` in cwd. When the fallback is
//! hit and the target is a 3D scene (.glb), `add_to_path` scaffolds a fresh
//! world at that location.
use WORLD_JSONL;
use crateadd_to_path;
use cratediscover_world_path;
/// Create an asset from `target` and apply it to the discovered world.
///
/// Tries `worlds/` first, then `world.jsonl` in the working
/// directory; when neither exists and the target is a 3D scene, the world is
/// scaffolded at the fallback location.