winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

ShowFlow.h (1651B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "ExecutionContext.h"
      5 
      6 namespace AppInstaller::CLI::Workflow
      7 {
      8     // Shows information on an application; this is only the information for package agreements
      9     // Required Args: None
     10     // Inputs: Manifest
     11     // Outputs: None
     12     void ShowAgreementsInfo(Execution::Context& context);
     13 
     14     // Shows information on an application.
     15     // Required Args: None
     16     // Inputs: Manifest, Installer
     17     // Outputs: None
     18     void ShowManifestInfo(Execution::Context& context);
     19 
     20     // Shows information on a package; this is only the information common to all installers.
     21     // Required Args: None
     22     // Inputs: Manifest
     23     // Outputs: None
     24     void ShowPackageInfo(Execution::Context& context);
     25 
     26     // Shows information on an installer
     27     // Required Args: None
     28     // Inputs: Installer
     29     // Outputs: None
     30     void ShowInstallerInfo(Execution::Context& context);
     31 
     32     // Shows the version for the specific manifest.
     33     // Required Args: None
     34     // Inputs: Manifest
     35     // Outputs: None
     36     void ShowManifestVersion(Execution::Context& context);
     37 
     38     // Composite flow that produces a manifest; either from one given on the command line or by searching.
     39     // Required Args: None
     40     // Inputs: None
     41     // Outputs: Manifest
     42     struct GetManifest : public WorkflowTask
     43     {
     44         GetManifest(bool considerPins) : WorkflowTask("GetManifest"), m_considerPins(considerPins) {}
     45 
     46         void operator()(Execution::Context& context) const override;
     47 
     48     private:
     49         bool m_considerPins;
     50     };
     51 }