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

feat: Add components subcommand #197

Merged
merged 13 commits into from
Feb 12, 2025
Merged

feat: Add components subcommand #197

merged 13 commits into from
Feb 12, 2025

Conversation

KokaKiwi
Copy link
Contributor

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

  • Add the edgee components subcommand
  • Some refactor to adapt the CLI to subcommands other than edgee serve

Related Issues

  • EDGEE-240

@KokaKiwi KokaKiwi force-pushed the feat/cli-component-commands branch from 73c413e to dee49cc Compare February 5, 2025 09:28
tracing::info!("Running: {}", manifest.package.build.command);
let mut cmd = Command::new("sh");
cmd.arg("-c").arg(manifest.package.build.command);
let status = cmd.status()?;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that:

By default, stdin, stdout and stderr are inherited from the parent.

Is that ok by default? maybe it shouldn't be logged to stdout unless you set an env variable for debugging?

}

#[derive(Debug, Deserialize)]
pub struct Package {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there anything else that we might want here? like something the web console supports and we don't support yet with the CLI?

maybe the component image/logo?

@KokaKiwi KokaKiwi marked this pull request as ready for review February 11, 2025 15:54
@KokaKiwi KokaKiwi requested a review from a team as a code owner February 11, 2025 15:54
* feat: add new and init command

* feat: update commands

* feat: fix clippy

* feat: added default build command for the init

* feat: update manifest for init with new cattegory and subcat prompt

* feat: updated some typos and added logs

* feat: add instructions to install dependencies

* feat: update command with new manifest

* add TypeScript to components boilerplace

---------

Co-authored-by: Alex Casalboni <alexsaxmib@gmail.com>
KokaKiwi and others added 2 commits February 11, 2025 18:39
Co-authored-by: Nicolas Girardot <122389871+NicolasGirardot@users.noreply.github.com>
@KokaKiwi KokaKiwi merged commit 368b4aa into main Feb 12, 2025
4 checks passed
@KokaKiwi KokaKiwi deleted the feat/cli-component-commands branch February 12, 2025 10:06
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.

5 participants