add.d.ts 863 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * Adds support for an external library to your project.
  3. */
  4. export interface Schema {
  5. /**
  6. * The package to be added.
  7. */
  8. collection?: string;
  9. /**
  10. * When true, disables interactive input prompts for options with a default.
  11. */
  12. defaults?: boolean;
  13. /**
  14. * Shows a help message for this command in the console.
  15. */
  16. help?: HelpUnion;
  17. /**
  18. * When false, disables interactive input prompts.
  19. */
  20. interactive?: boolean;
  21. /**
  22. * The NPM registry to use.
  23. */
  24. registry?: string;
  25. /**
  26. * Display additional details about internal operations during execution.
  27. */
  28. verbose?: boolean;
  29. }
  30. /**
  31. * Shows a help message for this command in the console.
  32. */
  33. export declare type HelpUnion = boolean | HelpEnum;
  34. export declare enum HelpEnum {
  35. HelpJson = "JSON",
  36. Json = "json"
  37. }