Compare commits
2 Commits
394b940841
...
0bbfb9b9bf
| Author | SHA1 | Date | |
|---|---|---|---|
| 0bbfb9b9bf | |||
| a012f8f1e2 |
@@ -13,10 +13,12 @@
|
||||
3. file removal
|
||||
3.1 remove all files like '*.tar'
|
||||
|
||||
- make input default the current directory and the second argument after `refit create`
|
||||
- ~~make input default the current directory and the second argument after `refit create`~~
|
||||
- maybe get rid of valid input ??
|
||||
|
||||
## Changelog
|
||||
|
||||
<2025-09-29> V0.3.1 - Removed the requirement for an input
|
||||
<2025-09-29> V0.3.0 - Added file creation in the pattern like directories
|
||||
<2025-09-29> V0.2.4 - Improved logging and log readability
|
||||
<2025-09-28> V0.2.3 - Added logging for version file and --filemode path to the decider
|
||||
|
||||
@@ -33,9 +33,12 @@ class Refit_Create:
|
||||
|
||||
logger.debug(f"Start create_input_valid() value= {self.input}")
|
||||
if self.input is None:
|
||||
logger.warning(f"{self.input} cannot be None")
|
||||
print("Input argument missing. Use 'refit create -h' for help")
|
||||
raise ValueError("Input missing")
|
||||
input = "."
|
||||
self.input = input
|
||||
logger.info(
|
||||
f"FUNC: create_input_valid MSG: Usingsing current directory as input. value={self.input} "
|
||||
)
|
||||
return self.input
|
||||
else:
|
||||
logger.debug(
|
||||
f"Exiting create_input_valid() with valid input. value= {self.input}"
|
||||
|
||||
Reference in New Issue
Block a user