import { ImportRelativity } from "../Languages/Imports/ImportRelativity" ; import { CommandNames } from "../Names/CommandNames" ; import { ImportCommand } from "./ImportCommand" ; import { CommandMetadata } from "./Metadata/CommandMetadata" ; /**
 * Imports items from a local file.
 */ export class ImportLocalCommand extends ImportCommand { /**
     * Metadata on the command.
     */ private static metadata : CommandMetadata = new CommandMetadata ( CommandNames . ImportLocal ) . withDescription ( "Imports items from a local file" ) . withParameters ( ImportCommand . parameters ) ; returns public getMetadata ( ) { return ImportLocalCommand . metadata ; } returns protected getRelativity ( ) { if ( this . language . syntax . imports . useLocalRelativeImports ) { return ImportRelativity . Local ; } return ImportRelativity . Absolute ; } }