cmdr
Check-in [6f2d2b4c21]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Started to fill in validation type documentation.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6f2d2b4c21f38a92a916c3fe401cb9e3a6c1f2b3
User & Date: andreask 2013-10-25 00:20:34
Context
2013-10-25
18:24
Filled out docs for validation types. check-in: fbca18b815 user: andreask tags: trunk
00:20
Started to fill in validation type documentation. check-in: 6f2d2b4c21 user: andreask tags: trunk
00:19
Properly export the path validation types. check-in: 745978d8ff user: andreask tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to doc/parts/definitions.inc.

1
2
3
4
5
6
7


[include configuration.inc]
[vset TITLE_INTRO   "[vset PTITLE] - Introduction to the project"]
[vset TITLE_LICENSE "[vset PTITLE] - License"			 ]
[vset TITLE_CHANGES "[vset PTITLE] - Log of Changes"    	 ]
[vset TITLE_SOURCES "[vset PTITLE] - How To Get The Sources"	 ]
[vset TITLE_INSTALL "[vset PTITLE] - The Installer's Guide"	 ]
[vset TITLE_DEV     "[vset PTITLE] - The Developer's Guide"	 ]








>
>
1
2
3
4
5
6
7
8
9
[include configuration.inc]
[vset TITLE_INTRO   "[vset PTITLE] - Introduction to the project"]
[vset TITLE_LICENSE "[vset PTITLE] - License"			 ]
[vset TITLE_CHANGES "[vset PTITLE] - Log of Changes"    	 ]
[vset TITLE_SOURCES "[vset PTITLE] - How To Get The Sources"	 ]
[vset TITLE_INSTALL "[vset PTITLE] - The Installer's Guide"	 ]
[vset TITLE_DEV     "[vset PTITLE] - The Developer's Guide"	 ]
[comment {- Custom documents & titles - - -- --- ----- --------}]
[vset TITLE_DEV_VT  "[vset PTITLE] - Writing custom validation types"]

Added doc/parts/vtypes_std.inc.


























>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
[list_begin definitions]
[def boolean]
[def identity]
[def pass]
[def str]
[def integer]
[def rdirectory]
[def rfile]
[def rpath]
[def rwdirectory]
[def rwfile]
[def rwpath]
[list_end]

Added doc/validate.man.








































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[comment {-*- tcl -*- doctools manpage}]
[include parts/definitions.inc]
[manpage_begin [vset PROJECT]_validate [vset MAN_SECTION] [vset VERSION]]
[include parts/module.inc]
[require cmdr::validate]
[titledesc {Standard validation types for parameters}]
[description]
[include parts/welcome.inc]

This internal package implements the twelve standard validation types
shown below. The [cmd validate] command of the parameter declaration
DSL can use these by name. Non-standard types have to provide a proper
command prefix instead.

[para] Readers interested in writing their own custom validation types
should read [term [vset TITLE_DEV_VT]].

[include parts/vtypes_std.inc]
[include parts/feedback.inc]
[manpage_end]