Downloads:

66

Downloads of v 1.6.1.0:

66

Last Update:

02 Apr 2021

Package Maintainer(s):

Software Author(s):

  • NeilMacMullen

Tags:

scriban code-generation template text-processing json yaml csv

textrude - template based code generation and text processing utility

  • 1
  • 2
  • 3

1.6.1.0 | Updated: 02 Apr 2021

Downloads:

66

Downloads of v 1.6.1.0:

66

Maintainer(s):

Software Author(s):

  • NeilMacMullen

  • 1
  • 2
  • 3
textrude - template based code generation and text processing utility 1.6.1.0

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details

Deployment Method: Individual Install, Upgrade, & Uninstall

To install textrude - template based code generation and text processing utility, run the following command from the command line or from PowerShell:

>

To upgrade textrude - template based code generation and text processing utility, run the following command from the command line or from PowerShell:

>

To uninstall textrude - template based code generation and text processing utility, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade textrude -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade textrude -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install textrude
  win_chocolatey:
    name: textrude
    version: '1.6.1.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'textrude' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.6.1.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller textrude
{
    Name     = "textrude"
    Version  = "1.6.1.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'textrude':
  ensure   => '1.6.1.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator TheCakeIsNaOH on 17 Apr 2021.

Description

Textrude is a utility that allows you to quickly develop templates for code-generation and text processing. It runs on Windows and Linux and uses Scriban as the template language. It comes as a CLI exe for use in build systems as well as an GUI prototyping tool which regenerates output in realtime as templates are edited. Models are automatically imported from JSON, YAML, CSV or plain text.


textrude\examples\00_welcome.texproj
 
textrude\examples\01_humanizr.texproj
 
textrude\examples\02_include_library_scripts.texproj
 
textrude\examples\03_env_and_def.texproj
 
textrude\examples\04_multiple_models_and_outputs.texproj
 
textrude\examples\05_misc_functions.texproj
 
textrude\examples\06_extended_syntax.texproj
 
textrude\examples\07_create_library.texproj
 
textrude\examples\08_dynamic_output.texproj
 
textrude\examples\hello.json
{
    "data": "Some cool data"
}
textrude\examples\hello.sbn
 
textrude\lib\cpp.sbn
 
textrude\lib\csharp.sbn
 
textrude\lib\line.sbn
 
textrude\lib\misc.sbn
 
textrude\lib\warnings.sbn
 
textrude\LICENSE
 
textrude\Textrude.exe
md5: EF51702C98908DA1DF0ED9C0522B399E | sha1: 45B303A23C0BDA6BDCB7DCCEE0DAA0049FAE3357 | sha256: 9055DD3FFAF03FCAFA08CC9FBB7CD713E7E620E21832692576E1E50211173BD8 | sha512: 441594C8B6FF82D301A601D39A995C709537754D77A62A90C9E5F8AAD9D5D65AAAB2B34683D843E7BEFC20AEAE5DE79DD9CD0598A5DDF71D6CC0B438482B6AFC
textrude\TextrudeInteractive.exe
md5: F378C84959D9084E5F9CBCE5A2433AE3 | sha1: F4B27DB50B2680AD3DEF41372DF2078EEBEC73F5 | sha256: DED993CEC882EB9DEDF72FF6FFBC956824D2C9B690EC1ADCCA42AD9E3CB780EE | sha512: 864060B30DAF744E8A6EBA006AF8469D3030DB0D8941A1E40E4B4E1CC2F5ADF389676236F7D35912235EF56A8D2DCB06385283311424EB683C69361E4332B612
textrude\Textrude_linux
 
textrude\VERIFICATION.md
# VERIFICATION 

## Chocolatey

*Verification is intended to assist the Chocolatey moderators and community in verifying that this package's contents are trustworthy.*

This package is published by [Neil MacMullen](https://github.com/NeilMacMullen) the author of Textrude.   

The pre-built binaries are also available from the project page https://github.com/NeilMacMullen/Textrude in the releases section.  You may prefer to use these. 

If you are unsure about the provenance of this package the *safest* way to install Textrude via chocolately is to:

- checkout the source code
- examine it to ensure it is not doing anything nefarious
- open a powershell prompt in the top Textrude folder
- use `build.ps1 -t choco` to build the chocolatey package from source
- install from the locally generated package....
  `choco install -s .\chocolatey textrude`





textrude\WebView2Loader.dll
md5: E7F3DC7E1339401BA45782F1041C1027 | sha1: C22761638FB9320C6148F4821A455E1FF7B8EF7E | sha256: A9ECCBC9593DA9202105276ED3B39BD59BF95439ED0AE54920BF52CA5C55BAAE | sha512: 7E2B074E5C22CFEF564BE4839D449FC4BE7E37AFB518C9F6EAE64E45AAB2F059200AC33643A7807BB488BE6E21AD70C8A91669BA81966360612F0A91E281175A

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status

First package release


This package has no dependencies.

Discussion for the textrude - template based code generation and text processing utility Package

Ground Rules:

  • This discussion is only about textrude - template based code generation and text processing utility and the textrude - template based code generation and text processing utility package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or textrude - template based code generation and text processing utility, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus