Skip to content

088 - License Header

Source file license headers as raw strings. This is an example of a MAML document.

maml
# License templates
{
  # MIT License
  mit: """
MIT License

Copyright (c) 2026 Harvey Armstrong

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software.
"""

  # Apache 2.0
  apache: """
Copyright 2026 Rau - Bernhard

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0
"""

  header_style: "banner"
  auto_insert: true
}

See Also