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

Displaying name of created action #177

Merged
merged 5 commits into from
Sep 8, 2024
Merged

Displaying name of created action #177

merged 5 commits into from
Sep 8, 2024

Conversation

fkrzski
Copy link
Contributor

@fkrzski fkrzski commented Sep 8, 2024

I changed the notification text to Laravel-style in the make:something commands. This speeds up the file creation process because you can copy the filename with the path directly from the terminal instead of searching by typing the name a second time or in the git toolbar.

Now the output looks like this:
image

Additionally, I fixed the generating path with the name, because at this moment it looks like operations//./action_name.php:
image

@andrey-helldar andrey-helldar added the minor Non-critical changes to the project structure label Sep 8, 2024
Copy link
Member

@andrey-helldar andrey-helldar left a comment

Choose a reason for hiding this comment

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

I like your idea. I've improved the code a bit. Now it allows you to set the type of returned file path in the settings - absolute or relative.

Helldar@HellPC MINGW64 /d/domains/example.com (main)
$ art make:oper qwe
  Operation [D:/domains/example.com/operations/2024_09_08_131123_qwe.php] created successfully ....... 1ms DONE

Helldar@HellPC MINGW64 /d/domains/example.com (main)
$ art make:oper qwe
  Operation [operations/2024_09_08_131127_qwe.php] created successfully .............................. 1ms DONE

Thank you!

@andrey-helldar andrey-helldar merged commit 499b88a into TheDragonCode:main Sep 8, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Non-critical changes to the project structure
Development

Successfully merging this pull request may close these issues.

2 participants