Skip to content

Conversation

@mayo031042
Copy link

プロジェクトルートで以下のようにして実行してください

# CLImodeで起動(内部でsudoを呼んでいます)
./ppcli

CLImodeで起動しlogコマンドを実行した状態で
echo "Added to log" >>logs/gulp.log
のようにログファイルへ追記を実行すると挙動の確認ができます

cli modeではencode modeとdecode modeが存在し、switchコマンドで切り替えが可能ですが、それ以外の機能は未実装です

  • cli機能を追加
  • logコマンドを追加、継続的にログ出力可能
    • log 10 などで指定行数のみ出力可能

@mayo031042 mayo031042 changed the title Feature/gulp cli interface feat: cli modeでの操作機能とログ出力機能を追加 Dec 18, 2025
@funa-tk
Copy link
Contributor

funa-tk commented Dec 18, 2025

println等で文字列を出力する部分ですが、将来的に多言語に対応するために、I18nString クラスを今の段階から使うのはどうでしょう?Kotlinで簡単に多言語化できるライブラリが他にあるのならば、それを使ってもOKです。
それ以外については、特に問題ありません!

@mayo031042 mayo031042 force-pushed the feature/gulp-cli-interface branch from 022f2c0 to b4f7ff7 Compare December 18, 2025 09:33
@mayo031042
Copy link
Author

別のコミットで大幅な修正が見込まれる箇所を除き、一部多言語対応を実施しました!

Copy link
Contributor

@funa-tk funa-tk left a comment

Choose a reason for hiding this comment

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

LGTMです

@funa-tk funa-tk merged commit 8eb513a into DeNA:master Dec 18, 2025
1 check passed
@mayo031042 mayo031042 deleted the feature/gulp-cli-interface branch December 19, 2025 00:44
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.

3 participants