-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Add new ui and new installation #389
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
base: main
Are you sure you want to change the base?
Conversation
MoDarK-MK
commented
Oct 16, 2025


|
Hello |
|
Also in this case we have traceback |
|
if you like this tell me to code more |
|
@enty8080 can you give a look to this please? Also, the project needs to have at least |
|
Hi, I hope you are well |
|
Hello again |
Can you standardize it by using |
|
@MoDarK-MK Why did you add |
|
@MoDarK-MK Traceback encountered identifying attempt to inject custom printing methods instead of using badges: |
|
Convenience for non-technical users
|
|
@MoDarK-MK To be honest, I think even non-technical users can read README.md with installation instructions (in current state it is single command) |
replace this code |
if you dont like it we can remove it but try it |
|
ps: I am still testing |
|
its working |
|
It's 4am in my country |
|
Omg I did finally. There is a missing main function that we need to add. So @MoDarK-MK please do the following things |
|
im here |
|
1- Remove the entire content from """
MIT License
Copyright (c) 2020-2024 EntySec
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
from ghost.core.console import Console
def cli() -> None:
""" Ghost Framework command-line interface.
:return None: None
"""
console = Console()
console.shell()
if __name__ == "__main__":
cli() |
|
its ok now |
|
Just to explain the reason of this:
So, now, the update to |
|
Thank you man |
|
Thank you both. |
|
I'll review everything in the morning. Thank you again for your contribution! |
There is a more robust and standardized approach that would be beneficial for the future. At this point :D @MoDarK-MK let's do that. |
|
On from ghost.core.console import Console
def main() -> int:
Console().shell()
return 0Then, edit from .cli import main
if __name__ == "__main__":
raise SystemExit(main())Then, edit """
MIT License
Copyright (c) 2020-2024 EntySec
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""
__version__ = "…"Finally, inside Why this is more robust?
|
|
@MoDarK-MK it works. Just one thing about the interface:
Color codes are not expanded correctly (look at Furthermore, @enty8080 regardless the decision of the interface, I suggest strongly to implement at least the changes done on In case you will accept the new proposed interface, remember to add the |
|
ok i try to solve it |
|
@enty8080 did you get a look this morning? |
|
No, didn't have time |

