autumn-library / autumn-library/winow-cli
winow init в несуществующий путь
- Dominant language
- 1C Enterprise
- Stars
- 7
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/oscript-library/winow/issues/1
by @Golovanoff
При попытке выполнить winow init в путь, которого не существует, ругается непонятно:
```
ОШИБКА - {Модуль путь_к_вину/winow/src/Классы/КонструкторВебПриложений.os / Ошибка в строке: 150 / Внешнее исключение (System.IO.DirectoryNotFoundException): Не удалось найти часть пути "тут какой-то путь,
которого нет/autumn-properties.json".}
```
Для неподготовленного человека очевидно, что такого файла там нет - я и хочу его создать с помощью команды init.
Ясно вижу 2 пути:
1. при отсутствии указанного в параметре команды пути более внятно ругаться (мало ли, может человек промазал кнопкой)
или
2. делать ОбеспечитьКаталог перед переносом файлов шаблона и куда сказали - туда и инициализироваться. если промазал - пусть руками удаляет.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the winow init command and Классы/КонструкторВебПриложений.os around line 150, where the missing destination path produces DirectoryNotFoundException. Reproduce init with a nonexistent path and inspect how the template files are transferred. Done means the command either reports the missing path clearly or initializes it as specified by the selected behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100