Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add [dapr] spec #2342

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

add [dapr] spec #2342

wants to merge 11 commits into from

Conversation

bondz
Copy link

@bondz bondz commented May 19, 2024

Completions spec for dapr cli

@withfig-bot
Copy link
Collaborator

withfig-bot commented May 19, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@withfig-bot
Copy link
Collaborator

withfig-bot commented May 19, 2024

Overview

src/dapr.ts:

Info:

Single Functions:

postProcess:

 function (out) {
    try {
      const appList = JSON.parse(out);
      return appList.map((app) => {
        return {
          name: app.appId,
          description: `HTTP Port: ${app.httpPort} age: ${app.age}`,
        };
      });
    } catch {
      return [];
    }
  }

URLs:

  • https://hub.docker.com/v2/namespaces/daprio/repositories/daprd/tags?page_size=100

@withfig-bot
Copy link
Collaborator

Hello @bondz,
thank you very much for creating a Pull Request!
Here is a small checklist to get this PR merged as quickly as possible:

  • Do all subcommands / options which take arguments include the args property (args: {})?
  • Are all options modular? E.g. -a -u -x instead of -aux
  • Have all other checks passed?

Please add a 👍 as a reaction to this comment to show that you read this.

@grant0417
Copy link
Member

Hey @bondz if you want use to merge this make sure to sign the CLA

@bondz
Copy link
Author

bondz commented May 30, 2024

I have read the CLA Document and I hereby sign the CLA

withfig-bot added a commit that referenced this pull request May 30, 2024
@bondz bondz marked this pull request as ready for review June 1, 2024 04:30
@bondz
Copy link
Author

bondz commented Jun 1, 2024

dapr uses cobra. The spec is mostly generated from the code. The spec mostly has duplicates but I figure to keep the changes so we can keep generating it from the code.

Added a function to generate list of running apps for commands that need them. cc @grant0417

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants