Skip to content

Do you need a CLI? #117

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

Closed
Himenon opened this issue Dec 24, 2023 · 0 comments
Closed

Do you need a CLI? #117

Himenon opened this issue Dec 24, 2023 · 0 comments
Labels
Type: Enhancement New feature or request

Comments

@Himenon
Copy link
Owner

Himenon commented Dec 24, 2023

English

Hello to all our users. Thank you for using our site on a daily basis.

As the title says, if you had a CLI, how much functionality would you want?

This library needs to write import statements with some String to make API Client Dependency Injection and file splitting, which is surprisingly difficult to express in the CLI.

One way to look at it differently is to prepare a CLI that generates code for the generator as a more meta CLI. However, I am not too keen on this idea, because it can be solved by writing a working code in the README with a copy and paste.

So, if you have any ideas for a CLI that would be good for users, please feel free to contribute!

(Comments can be in English or Japanese.)

日本語

ユーザーの皆さんこんにちは。日々利用してくださり、ありがとうございます。

表題のとおりですが、CLIがあったとしたらどこまでの機能がほしいですか?

本ライブラリはAPI ClientをDependency Injectionしたりファイル分割するために、import文を多少のStringで記述する必要があり、CLIで表現するのは意外と難しいです。

見方を変えて、更にメタ的なCLIとしてジェネレーター用のコードを生成するCLIを用意するというのも1つの方法があります。とはいえ、READMEにコピペで動くコードを書いていれば解決する話でもあるのであまり乗り気ではありません。

ということで、ユーザーの皆さんにこういったCLIがあると良い、というアイディアがあれば気軽に投稿してみてください!

(コメントはEnglish/日本語どちらでも構いません)

@Himenon Himenon added the Type: Enhancement New feature or request label Dec 24, 2023
@Himenon Himenon closed this as completed Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant