Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
23
node_modules/astro/dist/cli/sync/index.js
generated
vendored
Normal file
23
node_modules/astro/dist/cli/sync/index.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
import { printHelp } from "../../core/messages.js";
|
||||
import _sync from "../../core/sync/index.js";
|
||||
import { flagsToAstroInlineConfig } from "../flags.js";
|
||||
async function sync({ flags }) {
|
||||
if (flags?.help || flags?.h) {
|
||||
printHelp({
|
||||
commandName: "astro sync",
|
||||
usage: "[...flags]",
|
||||
tables: {
|
||||
Flags: [
|
||||
["--force", "Clear the content layer cache, forcing a full rebuild."],
|
||||
["--help (-h)", "See all available flags."]
|
||||
]
|
||||
},
|
||||
description: `Generates TypeScript types for all Astro modules.`
|
||||
});
|
||||
return 0;
|
||||
}
|
||||
await _sync(flagsToAstroInlineConfig(flags), { telemetry: true });
|
||||
}
|
||||
export {
|
||||
sync
|
||||
};
|
Reference in New Issue
Block a user