edit CLI Validation Overview.

master
Craig Oates 5 years ago
parent
commit
ca7afb9969
  1. 6
      CLI-Validation-Overview.md

6
CLI-Validation-Overview.md

@ -21,13 +21,13 @@ IMAGE OF VALIDATION AND CONSOLE COMMANDS RELATIONSHIP.
As a general rule, "Validation.fs" consists of three "sections". They are as follows;
1. Creating an "image specification"
2. Parsing string input (colours, paths, Etc.)
1. Creating an "image specification" (E.G. `BrushSpec`)
2. Parsing `string`-based input (colours, paths, Etc.)
3. Creating a "stringly-typed" colour list/system
It is worth pointing out two and three reflect the nature of console programs (I.E. text based). Also, I limited the `colourList` and `skiaColourList` as a way to keep things simple. The console does not provide a way for the end-user to look at the colour before confirming it. And, people tend to find remembering "blue" a lot easier than `#068BEC`. Having said that, the main (NuGet) library, allows you to specify your colours using RGB values. So, you can do that if/when you hook it up to a GUI if you want.
If you have not viewed the code in "Validation.fs", here a quick look at the available colours users can use with the CLI:
If you have not viewed the code in "Validation.fs", here a quick look at the available colours users can use with the C.L.I.;
```f#
// Code in Validation.fs.

Loading…
Cancel
Save