Skip to content

Create RubyGem project psdk-cli using Thor structure #2#19

Merged
NuriYuri merged 4 commits intomainfrom
Create-RubyGem-project-#2
Nov 13, 2025
Merged

Create RubyGem project psdk-cli using Thor structure #2#19
NuriYuri merged 4 commits intomainfrom
Create-RubyGem-project-#2

Conversation

@NuriYuri
Copy link
Copy Markdown
Contributor

This PR implements the skeleton for psdk-cli as a gem.

When installed with gem install psdk-cli it makes the following command available:

  • psdk-cli help
  • psdk-cli version
  • psdk-cli plugin
  • psdk-cli plugin fake ARG1
  • psdk-cli plugin help
  • psdk-plugin fake ARG1
  • psdk-plugin help

It's coming with rubocop and rspec for lint & tests. You can run both lint and test using rake (check rake --tasks for all available commands).

A github action has been added as well (default when creating a new bundle project).

@NuriYuri NuriYuri linked an issue Nov 12, 2025 that may be closed by this pull request
4 tasks
Copy link
Copy Markdown

@Aelysya Aelysya left a comment

Choose a reason for hiding this comment

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

Testé, l'installation marche correctement avec gem install et toutes les commandes décrites fonctionnent.
Le test inclu fonctionne aussi.

Copy link
Copy Markdown
Contributor

@AerunDev AerunDev left a comment

Choose a reason for hiding this comment

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

Tested right now, works as intended! 😄

Copy link
Copy Markdown
Collaborator

@pw-rey pw-rey left a comment

Choose a reason for hiding this comment

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

Tested the PR on MacOS using RVM and Ruby 3.4.5. After a gem install psdk-cli and a bundle install, I was able to correctly test it. No issues to report, all the commands work as expected. The RSpec test also works as expected. 😄

Copy link
Copy Markdown

@Scorbutics Scorbutics left a comment

Choose a reason for hiding this comment

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

Cool l'architecture !

@NuriYuri NuriYuri merged commit 621507a into main Nov 13, 2025
1 check passed
@NuriYuri NuriYuri deleted the Create-RubyGem-project-#2 branch November 13, 2025 09:32
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.

Create RubyGem project psdk-cli using Thor structure

5 participants