Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit e315ff7

Browse files
committed
readme readme readme
1 parent aba7250 commit e315ff7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ p.build(parallel=True, debug=False, force=False)
4545
```python
4646
...
4747

48+
p = packer.Packer(packerfile, ...)
4849
output_file = 'packer/tests/resources/packerfile_fixed.json'
4950
print(p.fix(output_file))
5051
```
@@ -59,6 +60,7 @@ If the `mrf` argument is set to `True`, the output will be parsed and returned a
5960
```python
6061
...
6162

63+
p = packer.Packer(packerfile, ...)
6264
result = p.inspect(mrf=True)
6365
print(result.parsed_output)
6466

@@ -91,6 +93,7 @@ If the `mrf` argument is set to `False`, the output will not be parsed but rathe
9193
```python
9294
...
9395

96+
p = packer.Packer(packerfile, ...)
9497
result = p.inspect(mrf=True)
9598
print(result.stdout)
9699

@@ -120,6 +123,7 @@ You must be logged into Atlas to use the `push` function:
120123
```python
121124
...
122125

126+
p = packer.Packer(packerfile, ...)
123127
atlas_token = 'oi21mok3mwqtk31om51o2joj213m1oo1i23n1o2'
124128
p.push(create=True, token=atlas_token)
125129
```
@@ -129,6 +133,7 @@ p.push(create=True, token=atlas_token)
129133
```python
130134
...
131135

136+
p = packer.Packer(packerfile, ...)
132137
p.validate(syntax_only=False)
133138
```
134139

@@ -137,6 +142,7 @@ p.validate(syntax_only=False)
137142
```python
138143
...
139144

145+
p = packer.Packer(packerfile, ...)
140146
print(p.version())
141147
```
142148

0 commit comments

Comments
 (0)