8884bac0ed
Sometimes you want to do just one thing, and in the process of implementing that one thing, you implement several others. This is one of those types of commits. Implementing the argparse library is for the sake of controlling the logging behaviour as well as other future I have yet to implement. It has all the standard goodies you'd expect, and I have also ported over the existing commandline arguments. (They may need a bit of polish still, but there is no regression compared to before, only improvement.) The logger is because it really needed to happen for numerous reasons. It still logs to the terminal, but by default it only does so for messages classified WARNING and above. These are the things we actively want users to see. But if this is not good enough, adding the --verbose flag will increasingly show more (-v shows INFO level and -vv also shows the DEBUG messages) so that us coders don't have to miss anything in the most convenient location. It also logs to a file with the very original filename manuskript.log. I may have to add commandline and/or settings arguments to improve that at some point in the future, but there distractions are endless. The log file contains timestamps and module information for easy interpretation that are not present on the terminal, and it contains all messages classified DEBUG and up. Ideally users will just be able to attach it to an issue(*) to deliver us all the information we need to help them with their inquiry. Last but not least, the other reason I needed logging implemented is that Qt has its own logging framework, and I needed to figure out how to siphon out the data and make it shut up. But there was no point in doing that as long as our own logging facilities were lacking... (*) I have yet to convert all existing print statements over to the new system, but that is probably going to be the next commit. This one has enough change in it already. |
||
---|---|---|
bin | ||
i18n | ||
icons | ||
libs | ||
manuskript | ||
package | ||
resources | ||
sample-projects | ||
snap | ||
.codeclimate.yml | ||
.gitignore | ||
.travis.yml | ||
_config.yml | ||
CHANGELOG.md | ||
COPYING | ||
CREDITS | ||
main.pyproject | ||
makefile | ||
manuskript.spec | ||
README.md | ||
TODO.t2t |
Manuskript
Manuskript is an open-source tool for writers.
Manuskript runs on GNU/Linux, Mac OS X, and Windows.
Features
Manuskript provides a rich environment to help writers create their
first draft and then further refine and edit their masterpiece.
With Manuskript you can:
- Grow your premise from one sentence, to a paragraph, to a full summary
- Create characters
- Conceive plots
- Construct outlines (Outline mode and/or Index cards)
- Write with focus (Distraction free mode)
- Build worlds
- Track items
- Edit and re-organize chapters and scenes
- View Story line
- Compose with fiction or non-fiction templates and writing modes
- Import and export document formats such as HTML, ePub, OpenDocument, DocX, and more
Additionally Manuskript can help in many more ways with a spell checker, markdown highlighter, frequency analyzer, and automatic save in open and plain text file format.
Download
Download and install Manuskript today.
HowTo's
See the Wiki for more detailed instructions on how to install and use Manuskript.
Contribute
You can help improve Manuskript by reporting issues, writing wiki documentation, and translating to other languages. See also Manuskript Contribute page.
Manuskript is written in Python3 and PyQt5.
Free Software
Manuskript is Free Software.
You have the freedom to run, copy, distribute, study, change and improve the software.
Manuskript is distributed under the GNU General Public License version 3 or (at your option) any later version.