-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Just like you can use multiple sections, the INI sections themselves can have multiple aliases. For example, you can have the same section under two or more names to avoid duplication: ```ini ; you can use these environment variables by using name "user" or "personal" [user, personal] NAME=... ID=... ```
- Loading branch information
Showing
9 changed files
with
14,145 additions
and
1,266 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
; example .as-a.ini file used for testing | ||
[testing] | ||
; example .as-a.ini file used for demonstration purposes | ||
[demo] | ||
MY_VARIABLE=42 | ||
|
||
; same section name as the folder | ||
[as-a] | ||
MY_VARIABLE=42 | ||
|
||
; the same section that can be loaded using three names | ||
[name-one, name-two, name-three] | ||
MY_VARIABLE=80 | ||
|
||
; section name with empty aliases | ||
[alias1,, , alias2] | ||
MY_VARIABLE=100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.