{"id":28486140,"url":"https://github.com/containerd/ltag","last_synced_at":"2025-07-02T12:32:35.796Z","repository":{"id":47556977,"uuid":"120427067","full_name":"containerd/ltag","owner":"containerd","description":"Prepends project files with given template.","archived":false,"fork":false,"pushed_at":"2025-03-04T04:05:13.000Z","size":57,"stargazers_count":19,"open_issues_count":3,"forks_count":9,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-06-08T01:11:23.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/containerd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-06T08:51:41.000Z","updated_at":"2025-04-18T14:53:14.000Z","dependencies_parsed_at":"2024-01-20T04:08:33.326Z","dependency_job_id":"19d0cbc1-097e-47ce-91f6-af9e34ab702c","html_url":"https://github.com/containerd/ltag","commit_stats":null,"previous_names":["containerd/ltag","kunalkushwaha/ltag"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/containerd/ltag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerd%2Fltag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerd%2Fltag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerd%2Fltag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerd%2Fltag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/containerd","download_url":"https://codeload.github.com/containerd/ltag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/containerd%2Fltag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263140569,"owners_count":23419906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-08T01:10:21.988Z","updated_at":"2025-07-02T12:32:35.787Z","avatar_url":"https://github.com/containerd.png","language":"Go","readme":"### ltag\n\nPrepends project files with given template.\n\n- Can be used for adding licence or copyright information on src files of project.\n- Skip file, if template (as provided) already present \n- Supports Golang source files, Dockerfile, Makefiles and bash scripts\n   - Take cares of compiler flags for golang source files and shebang of bash scripts.\n   - Take cares of Golang Package comments too.\n\n\n#### Install\n\n```\ngo install github.com/containerd/ltag@latest\n```\n\n\u003e [!NOTE]\n\u003e\n\u003e The module name was `github.com/kunalkushwaha/ltag` until v0.2.6.\n\n#### Usage\n\n``` console\n$ ltag\n$ ltag --help\nUsage of ltag:\n  -check\n        check files missing header\n  -excludes string\n        exclude folders (default \"vendor\")\n  -path string\n        project path (default \".\")\n  -t string\n        template files path (default \"./template\")\n  -v    verbose output\n\n```\n\n### Example\n\nTo Apply header from `./template` folder\n\n``` console\n$ ltag  -path=temp -v\nFiles modified :  11\ntemp/Dockerfile/Dockerfile\n...\n```\n\nTo Check if files missing header\n\n``` console\n$ ltag  -path=temp --check -v\ntemp/Dockerfile/Dockerfile\ntemp/Dockerfile/abc.dockerfile\ntemp/src/lvl1/doc.go\ntemp/src/lvl1/temp.go\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainerd%2Fltag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainerd%2Fltag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainerd%2Fltag/lists"}